summary refs log tree commit diff
path: root/pkgs/applications/audio/muso/default.nix
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-17 22:30:35 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-17 13:51:31 -0700
commit69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9 (patch)
tree9fe81f7d20993cf1c5f2956a946ca117df9a2af7 /pkgs/applications/audio/muso/default.nix
parent23d1505f890e5a8473375da75d31890e4e5c288f (diff)
downloadnixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar.gz
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar.bz2
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar.lz
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar.xz
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.tar.zst
nixpkgs-69ce7c4987ed2aa0c9bb4d365f290e42c3c566e9.zip
muso: fix darwin build
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 436afac7df2..67569ccfb99 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 \