mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
bespokesynth: Fix build on Darwin
This commit is contained in:
parent
a6bb41168f
commit
5b90562718
@ -30,10 +30,12 @@
|
|||||||
, pcre
|
, pcre
|
||||||
, mount
|
, mount
|
||||||
, gnome
|
, gnome
|
||||||
|
, Accelerate
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, WebKit
|
, WebKit
|
||||||
, CoreServices
|
, CoreServices
|
||||||
, CoreAudioKit
|
, CoreAudioKit
|
||||||
|
, IOBluetooth
|
||||||
# It is not allowed to distribute binaries with the VST2 SDK plugin without a license
|
# 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.
|
# (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
|
# Read more in https://github.com/NixOS/nixpkgs/issues/145607
|
||||||
@ -102,10 +104,12 @@ stdenv.mkDerivation rec {
|
|||||||
pcre
|
pcre
|
||||||
mount
|
mount
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
Accelerate
|
||||||
Cocoa
|
Cocoa
|
||||||
WebKit
|
WebKit
|
||||||
CoreServices
|
CoreServices
|
||||||
CoreAudioKit
|
CoreAudioKit
|
||||||
|
IOBluetooth
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [
|
||||||
|
@ -29227,7 +29227,7 @@ with pkgs;
|
|||||||
berry = callPackage ../applications/window-managers/berry { };
|
berry = callPackage ../applications/window-managers/berry { };
|
||||||
|
|
||||||
bespokesynth = callPackage ../applications/audio/bespokesynth {
|
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 {
|
bespokesynth-with-vst2 = bespokesynth.override {
|
||||||
|
Loading…
Reference in New Issue
Block a user