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