mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
pkgs: fix nixosTests command in docs
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
143680787e
commit
7d7744f15f
|
@ -568,7 +568,7 @@ This is how the pull request looks like in this case: [https://github.com/NixOS/
|
||||||
To run the main types of tests locally:
|
To run the main types of tests locally:
|
||||||
|
|
||||||
- Run package-internal tests with `nix-build --attr pkgs.PACKAGE.passthru.tests`
|
- Run package-internal tests with `nix-build --attr pkgs.PACKAGE.passthru.tests`
|
||||||
- Run [NixOS tests](https://nixos.org/manual/nixos/unstable/#sec-nixos-tests) with `nix-build --attr nixosTest.NAME`, where `NAME` is the name of the test listed in `nixos/tests/all-tests.nix`
|
- Run [NixOS tests](https://nixos.org/manual/nixos/unstable/#sec-nixos-tests) with `nix-build --attr nixosTests.NAME`, where `NAME` is the name of the test listed in `nixos/tests/all-tests.nix`
|
||||||
- Run [global package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests) with `nix-build --attr tests.PACKAGE`, where `PACKAGE` is the name of the test listed in `pkgs/test/default.nix`
|
- Run [global package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests) with `nix-build --attr tests.PACKAGE`, where `PACKAGE` is the name of the test listed in `pkgs/test/default.nix`
|
||||||
- See `lib/tests/NAME.nix` for instructions on running specific library tests
|
- See `lib/tests/NAME.nix` for instructions on running specific library tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue