about summary refs log tree commit diff
path: root/doc/stdenv
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2021-05-04 16:41:31 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-05-02 08:49:30 +0200
commit2f21bc2fdb4349ca89f3c8db9742cdaa15702a52 (patch)
tree0b72a64cb0e00d257e00dc0e90df74b93c164f0c /doc/stdenv
parent40ab3b8738b4bb10ae849712c6bdc0fdf7564e3e (diff)
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>
Diffstat (limited to 'doc/stdenv')
-rw-r--r--doc/stdenv/meta.chapter.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md
index 5f3e12ba00412..64924dceb717f 100644
--- a/doc/stdenv/meta.chapter.md
+++ b/doc/stdenv/meta.chapter.md
@@ -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.