mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
musikcube: Fix build on macOS
This commit is contained in:
parent
f5dad40450
commit
002222043d
@ -19,7 +19,7 @@
|
||||
, taglib
|
||||
# Linux Dependencies
|
||||
, alsa-lib
|
||||
, pipewireSupport ? true, pipewire
|
||||
, pipewireSupport ? !stdenv.hostPlatform.isDarwin, pipewire
|
||||
, pulseaudio
|
||||
, sndioSupport ? true, sndio
|
||||
, systemd
|
||||
@ -27,7 +27,7 @@
|
||||
# Darwin Dependencies
|
||||
, Cocoa
|
||||
, SystemConfiguration
|
||||
, coreaudioSupport ? stdenv.hostPlatform.isDarwin
|
||||
, coreaudioSupport ? stdenv.hostPlatform.isDarwin, CoreAudio
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -67,7 +67,9 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
alsa-lib pulseaudio
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Cocoa coreaudioSupport SystemConfiguration
|
||||
Cocoa SystemConfiguration
|
||||
] ++ lib.optionals coreaudioSupport [
|
||||
CoreAudio
|
||||
] ++ lib.optional sndioSupport [
|
||||
sndio
|
||||
] ++ lib.optional pipewireSupport [
|
||||
|
@ -30276,7 +30276,7 @@ with pkgs;
|
||||
meerk40t-camera = callPackage ../applications/misc/meerk40t/camera.nix { };
|
||||
|
||||
musikcube = callPackage ../applications/audio/musikcube {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa SystemConfiguration;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreAudio SystemConfiguration;
|
||||
};
|
||||
|
||||
libmt32emu = callPackage ../applications/audio/munt/libmt32emu.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user