Merge pull request #217712 from afh/musikcube-fix-macos-build
musikcube: Fix build on macOS
This commit is contained in:
commit
7cec24480e
|
@ -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 [
|
||||
|
|
|
@ -30282,7 +30282,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 a new issue