mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
groff: now really fix build after --docdir fix
I forgot about some later changes around characters permitted in $shareDocName.
This commit is contained in:
parent
35cef635ff
commit
1c8ac52999
|
@ -32,13 +32,12 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
};
|
||||
|
||||
# Remove example output with (random?) colors and creation date
|
||||
# to avoid non-determinism in the output.
|
||||
postInstall = ''
|
||||
# Remove example output with (random?) colors to
|
||||
# avoid non-determinism in the output
|
||||
rm $doc/share/doc/${name}/examples/hdtbl/*color*ps
|
||||
# Remove creation date
|
||||
find $doc/share/doc/${name} -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
|
||||
'';
|
||||
rm $doc/share/doc/groff/examples/hdtbl/*color*ps
|
||||
find $doc/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.gnu.org/software/groff/;
|
||||
|
|
Loading…
Reference in a new issue