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:
parent
2cc7256a10
commit
036bb8ff81
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue