diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-15 21:25:41 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-15 21:25:41 +0100 |
commit | a8278bd1ce00c49ff82b5aa9a8333083c534948c (patch) | |
tree | 4e95dd7c9e5e58b8af59e2229c2562725580ec8b /pkgs/applications/audio | |
parent | 0e25a27eed6e21a3f2c698213187f4c810469bc6 (diff) |
ashuffle: fix build on darwin
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/ashuffle/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/audio/ashuffle/default.nix b/pkgs/applications/audio/ashuffle/default.nix index fba63edcb4e0a..a543dbc7691a5 100644 --- a/pkgs/applications/audio/ashuffle/default.nix +++ b/pkgs/applications/audio/ashuffle/default.nix @@ -7,6 +7,7 @@ , ninja , libmpdclient , yaml-cpp +, darwin }: stdenv.mkDerivation rec { @@ -23,7 +24,8 @@ stdenv.mkDerivation rec { dontUseCmakeConfigure = true; nativeBuildInputs = [ cmake pkg-config meson ninja ]; - buildInputs = [ libmpdclient yaml-cpp ]; + buildInputs = [ libmpdclient yaml-cpp ] + ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation ]; mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ]; |