mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
add tests section to the README
This commit is contained in:
parent
7d0421a1c8
commit
bb98816c86
1 changed files with 10 additions and 1 deletions
11
README.md
11
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=.
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue