diff options
author | Artturin <Artturin@artturin.com> | 2021-10-16 23:31:23 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2021-10-16 23:31:23 +0300 |
commit | f33e326e4029d2455d1a2a040d6e04696b0b0ff1 (patch) | |
tree | 087953ae62adb62a7171c325788e24b926d96c66 /pkgs/tools/text/highlight/default.nix | |
parent | cb8fcfa3e65b169cd94709fff54dd4ea55d24db7 (diff) |
highlight: make manpage compression reproducible
Diffstat (limited to 'pkgs/tools/text/highlight/default.nix')
-rw-r--r-- | pkgs/tools/text/highlight/default.nix | 2 |
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++' |