PR_TEMPLATE: Note nix3 test method in checklist (#3972)
* PR_TEMPLATE: Note nix3 test method in checklist Allows for running with the `nixpkgs` from the lock file, as well as using a more familiar interface for users of the experimental CLI, which would've avoided me opening #3971. Also updates the corresponding note in `docs/contributing.adoc` to have the correct invocation path. * PR_TEMPLATE: `the experimental CLI` -> `Flakes`
This commit is contained in:
parent
e14e797041
commit
59659243cd
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -23,7 +23,7 @@ Also make sure to read the guidelines found at
|
||||||
|
|
||||||
- [ ] Code formatted with `./format`.
|
- [ ] Code formatted with `./format`.
|
||||||
|
|
||||||
- [ ] Code tested through `nix-shell --pure tests -A run.all`.
|
- [ ] Code tested through `nix-shell --pure tests -A run.all` or `nix develop --ignore-environment .#all` using Flakes.
|
||||||
|
|
||||||
- [ ] Test cases updated/added. See [example](https://github.com/nix-community/home-manager/commit/f3fbb50b68df20da47f9b0def5607857fcc0d021#diff-b61a6d542f9036550ba9c401c80f00ef).
|
- [ ] Test cases updated/added. See [example](https://github.com/nix-community/home-manager/commit/f3fbb50b68df20da47f9b0def5607857fcc0d021#diff-b61a6d542f9036550ba9c401c80f00ef).
|
||||||
|
|
||||||
|
|
|
@ -263,4 +263,4 @@ $ nix-shell --pure tests -A run.alacritty-empty-settings
|
||||||
However, those invocations will impurely source the system’s nixpkgs, and may cause failures. To run against the nixpkgs from the flake.lock, use instead e.g.
|
However, those invocations will impurely source the system’s nixpkgs, and may cause failures. To run against the nixpkgs from the flake.lock, use instead e.g.
|
||||||
|
|
||||||
[source,console]
|
[source,console]
|
||||||
$ nix develop --ignore-environment .#tests.all
|
$ nix develop --ignore-environment .#all
|
||||||
|
|
Loading…
Reference in a new issue