man-db: use lib.makeBinPath when wrapping
This commit is contained in:
parent
b38a1818bc
commit
83a9b3c415
|
@ -68,8 +68,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.getBin groff}/bin" \
|
||||
--prefix PATH : "${lib.getBin zstd}/bin"
|
||||
--prefix PATH : "${lib.makeBinPath [ groff zstd ]}"
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue