From 5b905627180b727fe72ee2fc1bc51dbf199d6a6a Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Thu, 11 May 2023 14:07:20 +0200 Subject: [PATCH] bespokesynth: Fix build on Darwin --- pkgs/applications/audio/bespokesynth/default.nix | 4 ++++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/bespokesynth/default.nix b/pkgs/applications/audio/bespokesynth/default.nix index 919768d58ed..ad19192ce70 100644 --- a/pkgs/applications/audio/bespokesynth/default.nix +++ b/pkgs/applications/audio/bespokesynth/default.nix @@ -30,10 +30,12 @@ , pcre , mount , gnome +, Accelerate , Cocoa , WebKit , CoreServices , CoreAudioKit +, IOBluetooth # It is not allowed to distribute binaries with the VST2 SDK plugin without a license # (the author of Bespoke has such a licence but not Nix). VST3 should work out of the box. # Read more in https://github.com/NixOS/nixpkgs/issues/145607 @@ -102,10 +104,12 @@ stdenv.mkDerivation rec { pcre mount ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + Accelerate Cocoa WebKit CoreServices CoreAudioKit + IOBluetooth ]; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 516156947e7..1f923c80815 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29227,7 +29227,7 @@ with pkgs; berry = callPackage ../applications/window-managers/berry { }; bespokesynth = callPackage ../applications/audio/bespokesynth { - inherit (darwin.apple_sdk.frameworks) Cocoa WebKit CoreServices CoreAudioKit; + inherit (darwin.apple_sdk.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth; }; bespokesynth-with-vst2 = bespokesynth.override {