mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
fluidsynth: fix on darwin
This commit is contained in:
parent
6e7cc807ff
commit
c0c1d74c15
@ -32,11 +32,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
|
|
||||||
buildInputs = [ glib libsndfile ]
|
buildInputs = [ glib libsndfile libpulseaudio libjack2 ]
|
||||||
++ lib.optionals (!stdenv.isDarwin) [ alsaLib libpulseaudio libjack2 ]
|
++ lib.optionals stdenv.isLinux [ alsaLib ]
|
||||||
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
|
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
|
||||||
|
|
||||||
cmakeFlags = lib.optional stdenv.isDarwin "-Denable-framework=off";
|
cmakeFlags = [ "-Denable-framework=off" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
|
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
|
||||||
@ -44,6 +44,5 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ goibhniu lovek323 ];
|
maintainers = with maintainers; [ goibhniu lovek323 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
badPlatforms = [ "x86_64-darwin" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user