about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-12-18 17:26:56 +0100
committerGitHub <noreply@github.com>2022-12-18 17:26:56 +0100
commit0f6cf57d0af4f2e37d636801895696fabcbbad3e (patch)
tree9912f8100b7f0ea2eef52c182d29951e09d082b8
parent0ba5aac68336a5921704bc4108bc55c91970610a (diff)
parent6be612f64b5c41623a6f5c4ac3aa4835fef79bfa (diff)
Merge pull request #205243 from wegank/fluidsynth-darwin
-rw-r--r--pkgs/applications/audio/fluidsynth/default.nix6
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";