Merge pull request #105395 from r-burns/ion

ion: fix build on darwin
This commit is contained in:
Jörg Thalheim 2020-12-28 06:29:57 +00:00 committed by GitHub
commit db103e0f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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