3
0
Fork 0
forked from mirrors/nixpkgs

jack2, libjack2: fix jack2.pc after splitting outputs

The split was merged in cfe009304 from PR #226315
This fixes qtractor build (and maybe others):
https://hydra.nixos.org/build/221582472/nixlog/3/tail
This commit is contained in:
Vladimír Čunát 2023-05-30 09:34:21 +02:00
parent 2cc7256a10
commit 036bb8ff81
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -66,6 +66,11 @@ stdenv.mkDerivation (finalAttrs: {
wrapProgram $out/bin/jack_control --set PYTHONPATH $PYTHONPATH
'');
postFixup = ''
substituteInPlace "$dev/lib/pkgconfig/jack.pc" \
--replace "$out/include" "$dev/include"
'';
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {