about summary refs log tree commit diff
path: root/pkgs/tools/text/highlight/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-10-16 23:31:23 +0300
committerArtturin <Artturin@artturin.com>2021-10-16 23:31:23 +0300
commitf33e326e4029d2455d1a2a040d6e04696b0b0ff1 (patch)
tree087953ae62adb62a7171c325788e24b926d96c66 /pkgs/tools/text/highlight/default.nix
parentcb8fcfa3e65b169cd94709fff54dd4ea55d24db7 (diff)
highlight: make manpage compression reproducible
Diffstat (limited to 'pkgs/tools/text/highlight/default.nix')
-rw-r--r--pkgs/tools/text/highlight/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix
index 4dafc76888838..82d5eab5086f0 100644
--- a/pkgs/tools/text/highlight/default.nix
+++ b/pkgs/tools/text/highlight/default.nix
@@ -23,6 +23,8 @@ let
     prePatch = ''
       substituteInPlace src/makefile \
         --replace "shell pkg-config" "shell $PKG_CONFIG"
+      substituteInPlace makefile \
+        --replace 'gzip' 'gzip -n'
     '' + lib.optionalString stdenv.cc.isClang ''
       substituteInPlace src/makefile \
           --replace 'CXX=g++' 'CXX=clang++'