cargo-asm: fix build on macOS Mojave

Building cargo-asm on Mojave fails with

ld: framework not found Security

Add Security as a build input.
This commit is contained in:
Daniël de Kok
2018-11-03 08:47:18 +01:00
parent c64624b843
commit 1f21fc5e47
2 changed files with 6 additions and 2 deletions

View File

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