mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
muso: fix darwin build
This commit is contained in:
parent
23d1505f89
commit
69ce7c4987
@ -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 New Issue
Block a user