about summary refs log tree commit diff
path: root/pkgs/tools/text/groff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-05-02 22:58:02 +0000
committerRobin Gloster <mail@glob.in>2016-05-02 22:58:02 +0000
commitc92bca56f8ea5623cf01952621455db308d0f330 (patch)
treef940e6e4fabd8e58b91fe885f9541205258023b2 /pkgs/tools/text/groff
parent0fdde5efd08c036fe9d73b4e65f2ba9797053d0f (diff)
parent94520a25adc6b6bee799ec9dab344cfdad3f7180 (diff)
downloadnixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.gz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.bz2
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.lz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.xz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.zst
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.zip
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/tools/text/groff')
-rw-r--r--pkgs/tools/text/groff/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix
index e08c10fd9ed2..728e9de8b488 100644
--- a/pkgs/tools/text/groff/default.nix
+++ b/pkgs/tools/text/groff/default.nix
@@ -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/examples/hdtbl/*color*ps
-      # Remove creation date
-      find $doc/share/doc/ -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/;