mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
nixos/doc/writing-nixos-tests: Clarify working directory
Co-authored-by: christian-burger <christian@krikkel.de>
This commit is contained in:
parent
666e969da0
commit
b2caf7965c
@ -60,6 +60,7 @@ Overrides can be added by defining an anonymous module in `all-tests.nix`.
|
||||
You can run a test with attribute name `mytest` in `nixos/tests/all-tests.nix` by invoking:
|
||||
|
||||
```shell
|
||||
cd /my/git/clone/of/nixpkgs
|
||||
nix-build -A nixosTests.mytest
|
||||
```
|
||||
|
||||
|
@ -77,6 +77,7 @@
|
||||
in <literal>nixos/tests/all-tests.nix</literal> by invoking:
|
||||
</para>
|
||||
<programlisting>
|
||||
cd /my/git/clone/of/nixpkgs
|
||||
nix-build -A nixosTests.mytest
|
||||
</programlisting>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user