diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-09 23:32:03 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-09 23:32:03 +0100 |
commit | 6be612f64b5c41623a6f5c4ac3aa4835fef79bfa (patch) | |
tree | dc03a4e993573cd34db4aecc41304ba6a75ddd5e /pkgs/applications/audio | |
parent | ce0f61b350e44e86929651e6aef30b0fca151475 (diff) |
fluidsynth: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/fluidsynth/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix index 09abaa862f513..cbed4b36181eb 100644 --- a/pkgs/applications/audio/fluidsynth/default.nix +++ b/pkgs/applications/audio/fluidsynth/default.nix @@ -20,7 +20,11 @@ stdenv.mkDerivation rec { ++ lib.optionals stdenv.isLinux [ alsa-lib libpulseaudio ] ++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ]; - cmakeFlags = [ "-Denable-framework=off" ]; + cmakeFlags = [ + "-Denable-framework=off" + # set CMAKE_INSTALL_NAME_DIR to correct value on darwin + "-DCMAKE_INSTALL_LIBDIR=lib" + ]; meta = with lib; { description = "Real-time software synthesizer based on the SoundFont 2 specifications"; |