From f33e326e4029d2455d1a2a040d6e04696b0b0ff1 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 16 Oct 2021 23:31:23 +0300 Subject: highlight: make manpage compression reproducible --- pkgs/tools/text/highlight/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/tools/text/highlight/default.nix') 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++' -- cgit 1.4.1