summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-11-05 22:16:51 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-11-05 22:16:51 +0100
commitbb98816c86517bed054fbf318bc0dc27aa8a3bdd (patch)
tree10cf6cfd3d3b67ea4bb8162da7dda57267951bcd
parent7d0421a1c8de3d42b0621beaf4cbf7e53d5daa20 (diff)
add tests section to the README
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 83f326d..3fa52f5 100644
--- a/README.md
+++ b/README.md
@@ -136,6 +136,15 @@ Whether to activate system at boot time.
- [`system`](https://github.com/LnL7/nix-darwin/tree/master/modules/system)
- [`time`](https://github.com/LnL7/nix-darwin/tree/master/modules/time)
+## Tests
+
+There are basic tests that run sanity checks for some of the modules,
+you can run them like this:
+
+```bash
+nix-build release.nix -A tests.environment-path
+```
+
## Contributing
Let's make nix on darwin awesome!
@@ -145,7 +154,7 @@ To build your configuration with local changes you can run this. This
flag can also be used to override darwin-config or nixpkgs, for more
information on the `-I` flag look at the nix-build manpage.
-```
+```bash
darwin-rebuild switch -I darwin=.
```