Merge pull request #465 from NixOS/ci

tests/run: enable experimental nix-command
This commit is contained in:
Jörg Thalheim 2022-09-14 07:27:51 +02:00 committed by GitHub
commit 93580fca10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -45,5 +45,11 @@ Link the profile in the table in README.md and in flake.nix.
Run ./tests/run.py to test building. The test script script will parse all the Run ./tests/run.py to test building. The test script script will parse all the
profiles from the README.md. profiles from the README.md.
You can also just specify a single profile like this:
```
./tests/run.py '<nixos-hardware/purism/librem/15v3>'
```
Because profiles can only be tested with the appropriate hardware, quality Because profiles can only be tested with the appropriate hardware, quality
assurance is up to *you*. assurance is up to *you*.

View file

@ -38,6 +38,7 @@ def build_profile(
cmd = [ cmd = [
"nix", "nix",
"build", "build",
"--extra-experimental-features", "nix-command",
"-f", "-f",
"build-profile.nix", "build-profile.nix",
"-I", "-I",