ion: fix build on darwin

This commit is contained in:
Ryan Burns 2020-11-29 12:35:14 -08:00
parent 752b6a95db
commit 6906e20605
2 changed files with 8 additions and 2 deletions

View file

@ -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";
};

View file

@ -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 { };