cargo-make: fix darwin build

https://hydra.nixos.org/build/123569405
This commit is contained in:
Maximilian Bosch 2020-07-03 23:09:43 +02:00
parent b63e659a72
commit db0540d178
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, runCommand, fetchFromGitHub, rustPlatform, Security, openssl, pkg-config }: { stdenv, fetchurl, runCommand, fetchFromGitHub, rustPlatform, Security, openssl, pkg-config
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-make"; pname = "cargo-make";
@ -22,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; ++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
cargoSha256 = "0l7krag7n4kjvh3d4zhkk1jdswsrkag5z664fm1zwvf6rw6sfdmi"; cargoSha256 = "0l7krag7n4kjvh3d4zhkk1jdswsrkag5z664fm1zwvf6rw6sfdmi";

View File

@ -9284,7 +9284,7 @@ in
}; };
cargo-insta = callPackage ../development/tools/rust/cargo-insta { }; cargo-insta = callPackage ../development/tools/rust/cargo-insta { };
cargo-make = callPackage ../development/tools/rust/cargo-make { cargo-make = callPackage ../development/tools/rust/cargo-make {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
}; };
cargo-raze = callPackage ../development/tools/rust/cargo-raze { cargo-raze = callPackage ../development/tools/rust/cargo-raze {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;