1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

json-c: split into multiple outputs

This commit is contained in:
Vladimír Čunát 2015-10-06 17:07:50 +02:00
parent 7a030ac3dc
commit 5f58c0b687

View file

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