groff: fix build after --docdir fix

This commit is contained in:
Vladimír Čunát 2016-04-19 20:37:28 +02:00
parent f6dfbb692c
commit 60d6c5a92b

View file

@ -35,9 +35,9 @@ stdenv.mkDerivation rec {
postInstall = ''
# Remove example output with (random?) colors to
# avoid non-determinism in the output
rm $doc/share/doc/examples/hdtbl/*color*ps
rm $doc/share/doc/${name}/examples/hdtbl/*color*ps
# Remove creation date
find $doc/share/doc/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
find $doc/share/doc/${name} -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
'';
meta = with stdenv.lib; {