We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ce6284 commit abf9e89Copy full SHA for abf9e89
modules/dream2nix/rust-crane/default.nix
@@ -60,6 +60,7 @@
60
testCargoCommand = cfg.testCommand;
61
cargoTestProfile = cfg.testProfile;
62
cargoTestFlags = cfg.testFlags;
63
+ cargoTestExtraArgs = cfg.testFlagsExtra;
64
doCheck = cfg.runTests;
65
66
# Make sure cargo only checks & builds & tests the package we want
modules/dream2nix/rust-crane/interface.nix
@@ -65,6 +65,11 @@ in {
description = "Flags to add when testing the crate";
default = [];
67
};
68
+ testFlagsExtra = {
69
+ type = t.str;
70
+ description = "additional flags to be passed in the cargoTestCommand invocation";
71
+ default = "--no-run";
72
+ };
73
depsDrv = {
74
type = t.submoduleWith {
75
modules = [dream2nix.modules.dream2nix.mkDerivation];
0 commit comments