starship: remove darwin sdks

This commit is contained in:
awwpotato
2025-04-16 21:42:56 -07:00
parent 8a06f7a8d0
commit 38ec78315b
2 changed files with 3 additions and 16 deletions
+2 -13
View File
@@ -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) ''
+1 -3
View File
@@ -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