mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
doc/stdenv/meta: tests -> passthru.tests
Make the text understandable without knowing that these are identical. Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
This commit is contained in:
parent
40ab3b8738
commit
2f21bc2fdb
@ -178,6 +178,7 @@ NixOS tests run in a VM, so they are slower than regular package tests. For more
|
||||
Alternatively, you can specify other derivations as tests. You can make use of
|
||||
the optional parameter (here: `self`) to inject the correct package without
|
||||
relying on non-local definitions, even in the presence of `overrideAttrs`. This
|
||||
means `(mypkg.overrideAttrs f).passthru.tests` will be as expected, as long as the
|
||||
definition of `tests` does not rely on the original `mypkg` or overrides it in
|
||||
all places.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user