Skip to content

Commit

Permalink
klick: fix cross build (NixOS#373479)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir authored Jan 15, 2025
2 parents b16e3d7 + 9647c14 commit f7a9687
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/by-name/kl/klick/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,22 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
pkg-config
rubberband
scons
];
buildInputs = [
rubberband
libsamplerate
libsndfile
liblo
libjack2
boost
];

preBuild = ''
substituteInPlace SConstruct \
--replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config"
'';

prefixKey = "PREFIX=";

meta = {
Expand Down

0 comments on commit f7a9687

Please sign in to comment.