summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2015-08-20 15:54:55 +0300
committerVladimír Čunát <vcunat@gmail.com>2015-10-03 14:08:50 +0200
commita39f5839eab3a2b01f2d6697b9a0a77cc8e4709c (patch)
tree9fbe358517e6c1591fbcae101b82de162deb4ba5 /pkgs/tools
parent15471a86595a0ec7d558b856d0c3f1c6169d4966 (diff)
downloadnixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar.gz
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar.bz2
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar.lz
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar.xz
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.tar.zst
nixlib-a39f5839eab3a2b01f2d6697b9a0a77cc8e4709c.zip
groff: Fix multiple-output build
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/text/groff/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix
index 039bff8c655a..e08c10fd9ed2 100644
--- a/pkgs/tools/text/groff/default.nix
+++ b/pkgs/tools/text/groff/default.nix
@@ -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; {