Merge #187701: gzip: build bin/zless again

...into staging
This commit is contained in:
Vladimír Čunát 2022-09-25 10:13:26 +02:00
commit f8a0cacabc
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -24,7 +24,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ xz.bin ];
makeFlags = [ "SHELL=/bin/sh" "GREP=grep" ];
makeFlags = [
"SHELL=/bin/sh"
"GREP=grep"
# gzip 1.12 doesn't build `zless` unless it can find `less`, but we
# can avoid having `less` as a build input if we just override these.
"ZLESS_MAN=zless.1"
"ZLESS_PROG=zless"
];
# Many gzip executables are shell scripts that depend upon other gzip
# executables being in $PATH. Rather than try to re-write all the