Skip to content

Commit

Permalink
buildRustPackage: support checkFlags and checkFlagsArray
Browse files Browse the repository at this point in the history
  • Loading branch information
andir committed Oct 21, 2019
1 parent b6ba25c commit 7391a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/rust/default.nix
Expand Up @@ -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
'';

Expand Down

0 comments on commit 7391a7d

Please sign in to comment.