Merge pull request #159937 from happysalada/starship_fix_darwin
This commit is contained in:
commit
d4b0e04852
@ -8,6 +8,7 @@
|
|||||||
, libiconv
|
, libiconv
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, Security
|
, Security
|
||||||
|
, Foundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -24,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
|
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
|
@ -24029,7 +24029,7 @@ with pkgs;
|
|||||||
stdmanpages = callPackage ../data/documentation/std-man-pages { };
|
stdmanpages = callPackage ../data/documentation/std-man-pages { };
|
||||||
|
|
||||||
starship = callPackage ../tools/misc/starship {
|
starship = callPackage ../tools/misc/starship {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security Foundation;
|
||||||
};
|
};
|
||||||
|
|
||||||
stig = callPackage ../applications/networking/p2p/stig { };
|
stig = callPackage ../applications/networking/p2p/stig { };
|
||||||
|
Loading…
Reference in New Issue
Block a user