about summary refs log tree commit diff
path: root/doc/using
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-03-15 12:22:16 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-05-02 08:49:33 +0200
commit0e00acafe9dc8bbd9e6b49d4341b6bf49b6defb8 (patch)
treec1b0fbd649b3788e040c4d7bfb1e615979c75be4 /doc/using
parentf066dddaa5cb6aea4429cd9386d4aa6f3963a889 (diff)
stdenv.mkDerivation: public -> finalPackage
Diffstat (limited to 'doc/using')
-rw-r--r--doc/using/overrides.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/using/overrides.chapter.md b/doc/using/overrides.chapter.md
index 6e69423fe5f70..a97a39354a9d8 100644
--- a/doc/using/overrides.chapter.md
+++ b/doc/using/overrides.chapter.md
@@ -48,7 +48,7 @@ In the above example, the `separateDebugInfo` attribute is overridden to be true
 
 The argument `previousAttrs` is conventionally used to refer to the attr set originally passed to `stdenv.mkDerivation`.
 
-The argument `finalAttrs` refers to the final attributes passed to `mkDerivation`, plus the `public` attribute which is the result of `mkDerivation` — the derivation or package.
+The argument `finalAttrs` refers to the final attributes passed to `mkDerivation`, plus the `finalPackage` attribute which is equal to the result of `mkDerivation` or subsequent `overrideAttrs` calls.
 
 If only a one-argument function is written, the argument has the meaning of `previousAttrs`.