libjack2: fix cross compilation

Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
This commit is contained in:
Mika Tammi 2023-07-24 21:46:26 +03:00
parent 5867d146dc
commit 69d67d04e1
No known key found for this signature in database
GPG Key ID: D86142F3DC628AD9

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, python3Packages, makeWrapper
, bash, libsamplerate, libsndfile, readline, eigen, celt
, libsamplerate, libsndfile, readline, eigen, celt
, wafHook
# Darwin Dependencies
, aften, AudioUnit, CoreAudio, libobjc, Accelerate
@ -46,9 +46,8 @@ stdenv.mkDerivation (finalAttrs: {
aften AudioUnit CoreAudio Accelerate libobjc
];
prePatch = ''
substituteInPlace svnversion_regenerate.sh \
--replace /bin/bash ${bash}/bin/bash
postPatch = ''
patchShebangs --build svnversion_regenerate.sh
'';
dontAddWafCrossFlags = true;