summaryrefslogtreecommitdiffstats
path: root/docs/howto-develop.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/howto-develop.rst')
-rw-r--r--docs/howto-develop.rst18
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/howto-develop.rst b/docs/howto-develop.rst
index b12c9b9..5eb4e57 100644
--- a/docs/howto-develop.rst
+++ b/docs/howto-develop.rst
@@ -9,13 +9,23 @@ You can also chat with us on the Libera IRC channel ``#nixos-mailserver``.
Run NixOS tests
---------------
-You can run the testsuite via
+To run the test suite, you need to enable `Nix Flakes
+<https://nixos.wiki/wiki/Flakes#Installing_flakes>`.
+
+You can then run the testsuite via
+
+::
+
+ $ nix flake check -L
+
+Since Nix doesn't garantee your machine have enough resources to run
+all test VMs in parallel, some tests can fail. You would then haev to
+run tests manually. For instance:
::
- $ nix-build tests -A external.nixpkgs_20_03
- $ nix-build tests -A internal.nixpkgs_unstable
- ...
+ $ nix build .#hydraJobs.x86_64-linux.external-unstable -L
+
Contributing to the documentation
---------------------------------