@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform }:
1+{ stdenv, fetchFromGitHub, rustPlatform, Security }:
22
33rustPlatform.buildRustPackage rec {
44 name = "cargo-asm-${version}";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "1m2j6i8hc8isdlj77gv9m6sk6q0x3bvzpva2k16g27i1ngy1989b";
1515
16+ buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
17+
1618 # Test checks against machine code output, which fails with some
1719 # LLVM/compiler versions.
1820 doCheck = false;