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
+5 -1
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";
};