mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
Merge pull request #465 from NixOS/ci
tests/run: enable experimental nix-command
This commit is contained in:
@@ -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*.
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user