From 667b40e827b3dd58d54eb9ce560fa306809b1f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 14 Sep 2022 07:19:16 +0200 Subject: [PATCH 1/2] tests/run: enable experimental nix-command --- tests/run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run.py b/tests/run.py index 2f514d1..77dae8e 100755 --- a/tests/run.py +++ b/tests/run.py @@ -38,6 +38,7 @@ def build_profile( cmd = [ "nix", "build", + "--extra-experimental-features", "nix-command", "-f", "build-profile.nix", "-I", From e55c862c77791df13fea1e2f237e132e6c425d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 14 Sep 2022 07:24:15 +0200 Subject: [PATCH 2/2] contributing: document how to run a single test --- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d7c8f55..ff02a6c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 '' +``` + Because profiles can only be tested with the appropriate hardware, quality assurance is up to *you*.