diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-03-03 22:30:52 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-03-03 22:30:52 +0100 |
commit | 1459b34afa993f08e53e05d21dd2df73b2e90c78 (patch) | |
tree | e7b19c4379434a17f5fb1bf6618dac6b843ac5ba /pkgs/tools/graphics/netpbm | |
parent | 539706cd0464874fc0a3745b083e13d000d8c969 (diff) |
netpbm: fix wrappers
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index 8f3a5ea274ecf..b2452be7339e8 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -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 ''; |