about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorarcnmx <arcnmx@users.noreply.github.com>2019-06-24 13:57:08 -0700
committerarcnmx <arcnmx@users.noreply.github.com>2019-06-24 13:57:08 -0700
commit8cd878c4a595718d595627f3f85dbc142b8a0508 (patch)
tree31f648c3e7e16bf16b9555fd37a2844bcbac145e /pkgs
parent3ca771cdc37dc5c101134622dceea2f84d4c09b4 (diff)
downloadnixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar.gz
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar.bz2
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar.lz
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar.xz
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.tar.zst
nixlib-8cd878c4a595718d595627f3f85dbc142b8a0508.zip
cargo-expand: fix darwin build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/rust/cargo-expand/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/rust/cargo-expand/default.nix b/pkgs/development/tools/rust/cargo-expand/default.nix
index 3e2128ff0850..32cd368fb04d 100644
--- a/pkgs/development/tools/rust/cargo-expand/default.nix
+++ b/pkgs/development/tools/rust/cargo-expand/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, rustPlatform, fetchFromGitHub }:
+{ stdenv, rustPlatform, fetchFromGitHub, darwin }:
 
 rustPlatform.buildRustPackage rec {
   pname = "cargo-expand";
@@ -12,6 +12,7 @@ rustPlatform.buildRustPackage rec {
   };
 
   cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
+  buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
 
   meta = with stdenv.lib; {
     description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";