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
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
assurance is up to *you*.

View File

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