diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix index f84f150bc55..c2cc626bd3c 100644 --- a/pkgs/shells/ion/default.nix +++ b/pkgs/shells/ion/default.nix @@ -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"; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5ee8e5233c3..7030f3a7179 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };