muso: fix darwin build
This commit is contained in:
parent
23d1505f89
commit
69ce7c4987
2 changed files with 6 additions and 3 deletions
|
@ -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 \
|
||||
|
|
|
@ -25271,7 +25271,9 @@ in
|
|||
mupdf = callPackage ../applications/misc/mupdf { };
|
||||
mupdf_1_17 = callPackage ../applications/misc/mupdf/1.17.nix { };
|
||||
|
||||
muso = callPackage ../applications/audio/muso { };
|
||||
muso = callPackage ../applications/audio/muso {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
mystem = callPackage ../applications/misc/mystem { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue