man-db: add gzip to the PATH of the executable wrapper
This commit is contained in:
parent
83a9b3c415
commit
ba812e5656
|
@ -2,6 +2,7 @@
|
||||||
, db
|
, db
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, groff
|
, groff
|
||||||
|
, gzip
|
||||||
, lib
|
, lib
|
||||||
, libiconv
|
, libiconv
|
||||||
, libpipeline
|
, 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)
|
# 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
|
find "$out/bin" -type f | while read file; do
|
||||||
wrapProgram "$file" \
|
wrapProgram "$file" \
|
||||||
--prefix PATH : "${lib.makeBinPath [ groff zstd ]}"
|
--prefix PATH : "${lib.makeBinPath [ groff gzip zstd ]}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue