Skip to content

Commit 26e94d1

Browse files
committed
Add cargoNextestExtraArgs
1 parent 71c0734 commit 26e94d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flake-lang/flake-rust.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pkgs:
1313
, devShellHook ? ""
1414
, devShellTools ? [ ]
1515
, testTools ? [ ]
16+
, cargoNextestExtraArgs ? ""
1617
}:
1718
let
1819
rustWithTools = pkgs.rust-bin.stable.${rustVersion}.default.override {
@@ -113,7 +114,7 @@ in
113114

114115
checks = {
115116
"${crateName}-rust-test" = craneLib.cargoNextest (commonArgs // {
116-
inherit cargoArtifacts;
117+
inherit cargoArtifacts cargoNextestExtraArgs;
117118
nativeBuildInputs = testTools ++ nativeBuildInputs;
118119
});
119120

0 commit comments

Comments
 (0)