mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
groff: Fix multiple-output build
This commit is contained in:
parent
15471a8659
commit
a39f5839ea
@ -35,9 +35,9 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
# Remove example output with (random?) colors to
|
||||
# avoid non-determinism in the output
|
||||
rm $out/share/doc/${name}/examples/hdtbl/*color*ps
|
||||
rm $doc/share/doc/examples/hdtbl/*color*ps
|
||||
# Remove creation date
|
||||
find $out/share/doc/${name} -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
|
||||
find $doc/share/doc/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user