man-db: use lib.makeBinPath when wrapping

This commit is contained in:
Shamrock Lee 2022-07-22 22:58:26 +00:00
parent b38a1818bc
commit 83a9b3c415

View file

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