cargo-nextest: fix darwin build

This commit is contained in:
happysalada 2022-06-25 16:18:57 -04:00 committed by Yt
parent 88843cd736
commit ad09dacadb
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-rbrJPEMOFq37U+0uL5NIqithQAdjO8J6TDwr5vdfT50=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix
"--"
"--skip=tests_integration::test_relocated_run"

View file

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