summaryrefslogtreecommitdiff
path: root/pkgs/applications/audio/muso/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/muso/default.nix')
-rw-r--r--pkgs/applications/audio/muso/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/audio/muso/default.nix b/pkgs/applications/audio/muso/default.nix
index 436afac7df29..67569ccfb996 100644
--- a/pkgs/applications/audio/muso/default.nix
+++ b/pkgs/applications/audio/muso/default.nix
@@ -1,5 +1,5 @@
-{ lib, fetchFromGitHub, rustPlatform
-, pkg-config, wrapGAppsHook
+{ lib, stdenv, fetchFromGitHub, rustPlatform
+, pkg-config, wrapGAppsHook, CoreServices
}:
rustPlatform.buildRustPackage rec {
@@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec {
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
+ buildInputs = lib.optional stdenv.isDarwin CoreServices;
preConfigure = ''
substituteInPlace lib/utils.rs \