buildRustPackage: support checkFlags and checkFlagsArray
This commit is contained in:
parent
633baf4273
commit
d13022417f
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ stdenv.mkDerivation (args // {
|
|||
|
||||
checkPhase = args.checkPhase or ''
|
||||
runHook preCheck
|
||||
echo "Running cargo test"
|
||||
cargo test
|
||||
echo "Running cargo cargo test -- ''${checkFlags} ''${checkFlagsArray+''${checkFlagsArray[@]}}"
|
||||
cargo test -- ''${checkFlags} ''${checkFlagsArray+"''${checkFlagsArray[@]}"}
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue