starship: fix darwin build

This commit is contained in:
happysalada 2022-02-13 23:19:04 -05:00
parent 53e73527c6
commit a328ffc649
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@
, libiconv
, nixosTests
, Security
, Foundation
}:
rustPlatform.buildRustPackage rec {
@ -24,7 +25,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
postInstall = ''
for shell in bash fish zsh; do

View File

@ -24021,7 +24021,7 @@ with pkgs;
stdmanpages = callPackage ../data/documentation/std-man-pages { };
starship = callPackage ../tools/misc/starship {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security Foundation;
};
stig = callPackage ../applications/networking/p2p/stig { };