fluidsynth: fix build on darwin
Make optional dependency `libpulseaudio` linux-only as it is broken on darwin.
This commit is contained in:
parent
40d287cfd7
commit
f8d7adf284
|
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ buildPackages.stdenv.cc pkg-config cmake ];
|
nativeBuildInputs = [ buildPackages.stdenv.cc pkg-config cmake ];
|
||||||
|
|
||||||
buildInputs = [ glib libsndfile libpulseaudio libjack2 ]
|
buildInputs = [ glib libsndfile libjack2 ]
|
||||||
++ lib.optionals stdenv.isLinux [ alsa-lib ]
|
++ lib.optionals stdenv.isLinux [ alsa-lib libpulseaudio ]
|
||||||
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
|
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
|
||||||
|
|
||||||
cmakeFlags = [ "-Denable-framework=off" ];
|
cmakeFlags = [ "-Denable-framework=off" ];
|
||||||
|
|
Loading…
Reference in a new issue