summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-29 21:33:18 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-29 21:34:25 -0400
commitc0c1d74c15a4fa0e45ec3bba3a4448d01d149297 (patch)
treebdb7a6e4e5a2536712efaf9edce1354baaf61727
parent6e7cc807ffa7549ea089a9599d1d73536365fbdd (diff)
fluidsynth: fix on darwin
-rw-r--r--pkgs/applications/audio/fluidsynth/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix
index 195431898a6d..04b1dafe7e84 100644
--- a/pkgs/applications/audio/fluidsynth/default.nix
+++ b/pkgs/applications/audio/fluidsynth/default.nix
@@ -32,11 +32,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
- buildInputs = [ glib libsndfile ]
- ++ lib.optionals (!stdenv.isDarwin) [ alsaLib libpulseaudio libjack2 ]
+ buildInputs = [ glib libsndfile libpulseaudio libjack2 ]
+ ++ lib.optionals stdenv.isLinux [ alsaLib ]
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
- cmakeFlags = lib.optional stdenv.isDarwin "-Denable-framework=off";
+ cmakeFlags = [ "-Denable-framework=off" ];
meta = with lib; {
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
@@ -44,6 +44,5 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ goibhniu lovek323 ];
platforms = platforms.unix;
- badPlatforms = [ "x86_64-darwin" ];
};
}