mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
modules are not a convention
This commit is contained in:
parent
82e7185436
commit
a1b582f33a
|
@ -52,7 +52,8 @@ pkgs.nixosTest {
|
||||||
```
|
```
|
||||||
|
|
||||||
The function `nixosTest` takes a [module](https://nixos.org/manual/nixos/stable/#sec-writing-modules) to specify the [test options](https://nixos.org/manual/nixos/stable/index.html#sec-test-options-reference).
|
The function `nixosTest` takes a [module](https://nixos.org/manual/nixos/stable/#sec-writing-modules) to specify the [test options](https://nixos.org/manual/nixos/stable/index.html#sec-test-options-reference).
|
||||||
Because this module only sets configuration values, one can use the abbreviated form of the module convention.
|
Because this module only sets configuration values, one can use the abbreviated module notation.
|
||||||
|
|
||||||
The following configuration values must be set:
|
The following configuration values must be set:
|
||||||
|
|
||||||
- [`name`](https://nixos.org/manual/nixos/stable/index.html#test-opt-name) defines the name of the test.
|
- [`name`](https://nixos.org/manual/nixos/stable/index.html#test-opt-name) defines the name of the test.
|
||||||
|
|
Loading…
Reference in a new issue