Skip to content

Fix some JUCE packages on Darwin #230730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkgs/applications/audio/bespokesynth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 [
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/audio/dexed/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
, freetype
, alsa-lib
, libjack2
, Accelerate
, Cocoa
, WebKit
, MetalKit
Expand Down Expand Up @@ -52,6 +53,7 @@ stdenv.mkDerivation rec {
alsa-lib
libjack2
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
Cocoa
WebKit
MetalKit
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/audio/fire/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
, libXcursor
, freetype
, alsa-lib
, Accelerate
, Cocoa
, WebKit
, CoreServices
Expand Down Expand Up @@ -76,6 +77,7 @@ stdenv.mkDerivation rec {
freetype
alsa-lib
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
Cocoa
WebKit
CoreServices
Expand Down
6 changes: 3 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -29806,7 +29806,7 @@ with pkgs;
denemo = callPackage ../applications/audio/denemo { };

dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed {
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
inherit (darwin.apple_sdk_11_0.libs) simd;
};

Expand Down Expand Up @@ -30446,7 +30446,7 @@ with pkgs;
filezilla = callPackage ../applications/networking/ftp/filezilla { };

fire = darwin.apple_sdk_11_0.callPackage ../applications/audio/fire {
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa WebKit CoreServices DiscRecording CoreAudioKit MetalKit;
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit CoreServices DiscRecording CoreAudioKit MetalKit;
inherit (darwin.apple_sdk_11_0.libs) simd;
};

Expand Down