@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
1+{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }:
22
33with rustPlatform;
44
@@ -19,7 +19,8 @@ buildRustPackage rec {
1919
2020 cargoSha256 = "15894qr0kpp5kivx0p71zmmfhfh8in0ydkvfirxh2r12x0r2jhdd";
2121
22− buildInputs = [ makeWrapper ];
22+ buildInputs = [ makeWrapper ]
23+ ++ stdenv.lib.optional stdenv.isDarwin Security;
2324
2425 RUST_SRC_PATH = rustPlatform.rustcSrc;
2526