netpbm: fix wrappers

This commit is contained in:
Jan Tojnar 2020-03-03 22:30:52 +01:00
parent 539706cd04
commit 1459b34afa
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -84,13 +84,13 @@ stdenv.mkDerivation {
mkdir -p $out/share/netpbm
mv $out/misc $out/share/netpbm/
moveToOutput bin "''${!outputBin}"
# wrap any scripts that expect other programs in the package to be in their PATH
for prog in ppmquant; do
wrapProgram "$out/bin/$prog" --prefix PATH : "$out/bin"
wrapProgram "''${!outputBin}/bin/$prog" --prefix PATH : "''${!outputBin}/bin"
done
moveToOutput bin "''${!outputBin}"
runHook postInstall
'';