Skip to content

Commit 9647c14

Browse files
klick: fix cross build
1 parent d9e9853 commit 9647c14

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkgs/by-name/kl/klick/package.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,22 @@ stdenv.mkDerivation rec {
2525

2626
nativeBuildInputs = [
2727
pkg-config
28-
rubberband
2928
scons
3029
];
3130
buildInputs = [
31+
rubberband
3232
libsamplerate
3333
libsndfile
3434
liblo
3535
libjack2
3636
boost
3737
];
38+
39+
preBuild = ''
40+
substituteInPlace SConstruct \
41+
--replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config"
42+
'';
43+
3844
prefixKey = "PREFIX=";
3945

4046
meta = {

0 commit comments

Comments
 (0)