mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
json-c: split into multiple outputs
This commit is contained in:
parent
7a030ac3dc
commit
5f58c0b687
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue