muso: fix darwin build

This commit is contained in:
Stéphan Kochen
2021-05-17 13:51:31 -07:00
committed by Jonathan Ringer
parent 23d1505f89
commit 69ce7c4987
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -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 \