cargo-make: fix darwin build

https://hydra.nixos.org/build/123569405
wip/yesman
Maximilian Bosch 4 years ago
parent b63e659a72
commit db0540d178
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 6
      pkgs/development/tools/rust/cargo-make/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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 {
pname = "cargo-make";
@ -22,7 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
cargoSha256 = "0l7krag7n4kjvh3d4zhkk1jdswsrkag5z664fm1zwvf6rw6sfdmi";

@ -9284,7 +9284,7 @@ in
};
cargo-insta = callPackage ../development/tools/rust/cargo-insta { };
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 {
inherit (darwin.apple_sdk.frameworks) Security;

Loading…
Cancel
Save