about summary refs log tree commit diff
path: root/pkgs/tools/misc/man-db
diff options
context:
space:
mode:
authorShamrock Lee <44064051+ShamrockLee@users.noreply.github.com>2022-07-22 23:00:24 +0000
committerShamrock Lee <44064051+ShamrockLee@users.noreply.github.com>2022-07-24 03:16:59 +0800
commitba812e56568a0417cfe54df31116588a8e9effcf (patch)
tree97f3fe0d53fcb85e3f7e22c2fc058ca1a8eabd3f /pkgs/tools/misc/man-db
parent83a9b3c4155f5da4ba507de5b5a09036b2a77d6e (diff)
man-db: add gzip to the PATH of the executable wrapper
Diffstat (limited to 'pkgs/tools/misc/man-db')
-rw-r--r--pkgs/tools/misc/man-db/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/misc/man-db/default.nix b/pkgs/tools/misc/man-db/default.nix
index ff0e84091e8f8..3e34a81cd4f82 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
   '';