From ba812e56568a0417cfe54df31116588a8e9effcf Mon Sep 17 00:00:00 2001 From: Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> Date: Fri, 22 Jul 2022 23:00:24 +0000 Subject: [PATCH] man-db: add gzip to the PATH of the executable wrapper --- pkgs/tools/misc/man-db/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/man-db/default.nix b/pkgs/tools/misc/man-db/default.nix index ff0e84091e8..3e34a81cd4f 100644 --- a/pkgs/tools/misc/man-db/default.nix +++ b/pkgs/tools/misc/man-db/default.nix @@ -2,6 +2,7 @@ , db , fetchurl , groff +, gzip , lib , libiconv , libpipeline @@ -68,7 +69,7 @@ stdenv.mkDerivation rec { # make sure that we don't wrap symlinks (since that changes argv[0] to the -wrapped name) find "$out/bin" -type f | while read file; do wrapProgram "$file" \ - --prefix PATH : "${lib.makeBinPath [ groff zstd ]}" + --prefix PATH : "${lib.makeBinPath [ groff gzip zstd ]}" done '';