mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
doc/meta: still mention testVersion near the installCheckPhase recommendation
This commit is contained in:
parent
444c2b6dd0
commit
0aa9043370
@ -157,6 +157,8 @@ Most programs distributed by Nixpkgs support such a `--version` flag, and it can
|
||||
* We can run and debug a `passthru.tests` independently, after the package was built (useful if it takes a long time).
|
||||
* `installCheckPhase` adds overhead to each build
|
||||
|
||||
It is also possible to still use `passthru.tests` to test the version, with [testVersion](#tester-testVersion).
|
||||
|
||||
For more on how to write and run package tests, see [`pkgs/README.md`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests).
|
||||
|
||||
#### NixOS tests {#var-meta-tests-nixos}
|
||||
|
Loading…
Reference in New Issue
Block a user