man-db: add gzip to the PATH of the executable wrapper

This commit is contained in:
Shamrock Lee 2022-07-22 23:00:24 +00:00
parent 83a9b3c415
commit ba812e5656

View file

@ -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
'';