mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
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
|
||||
, 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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user