diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-06 17:07:50 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-13 20:18:50 +0200 |
commit | 5f58c0b6874180d58ab9132918bdcd5693ce1724 (patch) | |
tree | 2296617ca7abc55720751c8134957fb97dcf4c53 /pkgs/development/libraries/json-c | |
parent | 7a030ac3dcfb8a2cc03f191a5e6fcdf911ed6d9e (diff) |
json-c: split into multiple outputs
Diffstat (limited to 'pkgs/development/libraries/json-c')
-rw-r--r-- | pkgs/development/libraries/json-c/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/json-c/default.nix b/pkgs/development/libraries/json-c/default.nix index ad425f2a38123..d5e0694e0516f 100644 --- a/pkgs/development/libraries/json-c/default.nix +++ b/pkgs/development/libraries/json-c/default.nix @@ -9,11 +9,13 @@ stdenv.mkDerivation rec { patches = [ ./unused-variable.patch ]; - buildInputs = [ autoreconfHook ]; # won't configure without it, no idea why + outputs = [ "dev" "out" ]; + + nativeBuildInputs = [ autoreconfHook ]; # won't configure without it, no idea why # compatibility hack (for mypaint at least) postInstall = '' - ln -s json-c.pc "$out/lib/pkgconfig/json.pc" + ln -s json-c.pc "$dev/lib/pkgconfig/json.pc" ''; meta = with stdenv.lib; { |