ion: fix build on darwin
This commit is contained in:
parent
752b6a95db
commit
6906e20605
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ion";
|
||||
@ -20,6 +20,10 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with maintainers; [ dywedir ];
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
passthru = {
|
||||
shellPath = "/bin/ion";
|
||||
};
|
||||
|
@ -8620,7 +8620,9 @@ in
|
||||
|
||||
fish-foreign-env = callPackage ../shells/fish/fish-foreign-env { };
|
||||
|
||||
ion = callPackage ../shells/ion { };
|
||||
ion = callPackage ../shells/ion {
|
||||
inherit (darwin) Security;
|
||||
};
|
||||
|
||||
jush = callPackage ../shells/jush { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user