diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-02-26 00:41:09 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-03-01 15:13:03 +0100 |
commit | 95558343993bcae045b955dfc96737ba733e1c69 (patch) | |
tree | 9899f5245b47ccb216cd7d2f83498e16bcc78b20 /pkgs/tools/graphics/netpbm | |
parent | 90180905a2557aefaf4f9ca5416968d829254861 (diff) |
netpbm: split into multiple outputs
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index 2755b6b2a0e50..f50b9d63f0025 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation { # https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced name = "netpbm-10.89.1"; + outputs = [ "bin" "out" "dev" ]; + src = fetchsvn { url = "https://svn.code.sf.net/p/netpbm/code/advanced"; rev = "3735"; @@ -96,6 +98,8 @@ stdenv.mkDerivation { wrapProgram "$out/bin/$prog" --prefix PATH : "$out/bin" done + moveToOutput bin "''${!outputBin}" + runHook postInstall ''; |