starship: remove darwin sdks
This commit is contained in:
@@ -5,11 +5,9 @@
|
||||
rustPlatform,
|
||||
installShellFiles,
|
||||
cmake,
|
||||
writableTmpDirAsHomeHook,
|
||||
git,
|
||||
nixosTests,
|
||||
Security,
|
||||
Foundation,
|
||||
Cocoa,
|
||||
buildPackages,
|
||||
}:
|
||||
|
||||
@@ -29,16 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Security
|
||||
Foundation
|
||||
Cocoa
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
"-framework"
|
||||
"AppKit"
|
||||
];
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ writableTmpDirAsHomeHook ];
|
||||
|
||||
# tries to access HOME only in aarch64-darwin environment when building mac-notification-sys
|
||||
preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
|
||||
|
||||
@@ -13609,9 +13609,7 @@ with pkgs;
|
||||
version = "4.300";
|
||||
};
|
||||
|
||||
starship = callPackage ../tools/misc/starship {
|
||||
inherit (darwin.apple_sdk.frameworks) Security Foundation Cocoa;
|
||||
};
|
||||
starship = callPackage ../tools/misc/starship { };
|
||||
|
||||
inherit (callPackages ../data/fonts/gdouros { })
|
||||
aegan
|
||||
|
||||
Reference in New Issue
Block a user