about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-25 10:58:51 -0400
committerGitHub <noreply@github.com>2019-06-25 10:58:51 -0400
commit0d61615d8d72523967e65fa1c9dd8cc4548ee5f4 (patch)
tree2af8e175fb723c3a557011c148327c576e6d46de /pkgs
parentbc54b96f2a49c043a1fe336e3e4cdad8c934ea59 (diff)
parent8cd878c4a595718d595627f3f85dbc142b8a0508 (diff)
downloadnixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar.gz
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar.bz2
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar.lz
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar.xz
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.tar.zst
nixlib-0d61615d8d72523967e65fa1c9dd8cc4548ee5f4.zip
Merge pull request #63746 from arcnmx/rust-darwin-expand
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";