cargo-nextest: fix build on darwin

This commit is contained in:
figsoda 2023-10-23 11:40:32 -04:00
parent b5f04b8059
commit 3c8a8010e1
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
@ -13,7 +13,9 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-IU2oW00VzEV8p3BpqIJZwXvdcaeweAF9nGHwtX+98vY=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
cargoBuildFlags = [ "-p" "cargo-nextest" ];
cargoTestFlags = [ "-p" "cargo-nextest" ];

View File

@ -17144,9 +17144,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation;
};
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest { };
cargo-play = callPackage ../development/tools/rust/cargo-play { };
cargo-profiler = callPackage ../development/tools/rust/cargo-profiler { };
cargo-raze = callPackage ../development/tools/rust/cargo-raze {