Merge pull request #165 from Mic92/quiet-tests

This commit is contained in:
Jörg Thalheim 2020-05-17 08:02:22 +01:00 committed by GitHub
commit 718eaeed75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#!nix-shell -p nix -p python3 -i python #!nix-shell --quiet -p nix -p python3 -i python
import argparse import argparse
import multiprocessing import multiprocessing
@ -33,12 +33,13 @@ def build_profile(profile: str) -> Tuple[str, subprocess.CompletedProcess]:
system = "armv7l-linux" system = "armv7l-linux"
cmd = [ cmd = [
"nix-build", "nix",
"build",
"-f", "build-profile.nix",
"-I", "-I",
f"nixos-hardware={ROOT}", f"nixos-hardware={ROOT}",
"--dry-run", "--dry-run",
"--show-trace", "--show-trace",
"build-profile.nix",
"--system", "--system",
system, system,
"--arg", "--arg",