+2
-2
doc/stdenv/meta.chapter.md
+2
-2
doc/stdenv/meta.chapter.md
······
+4
-5
doc/stdenv/stdenv.chapter.md
+4
-5
doc/stdenv/stdenv.chapter.md
···+`finalAttrs` also contains the attribute `finalPackage`, which includes the output paths, etc.······-Unlike the `pkg` binding in the above example, the `finalAttrs` parameter always references the final attributes. For instance `(pkg.overrideAttrs(x)).finalAttrs.public` is identical to `pkg.overrideAttrs(x)`, whereas `(pkg.overrideAttrs(x)).original` is the same as the original `pkg`.+Unlike the `pkg` binding in the above example, the `finalAttrs` parameter always references the final attributes. For instance `(pkg.overrideAttrs(x)).finalAttrs.finalPackage` is identical to `pkg.overrideAttrs(x)`, whereas `(pkg.overrideAttrs(x)).original` is the same as the original `pkg`.
+1
-1
doc/using/overrides.chapter.md
+1
-1
doc/using/overrides.chapter.md
···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.
+3
-3
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+3
-3
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
···
+1
-1
nixos/doc/manual/release-notes/rl-2205.section.md
+1
-1
nixos/doc/manual/release-notes/rl-2205.section.md
···
+1
-1
pkgs/applications/misc/hello/default.nix
+1
-1
pkgs/applications/misc/hello/default.nix
···
+3
-3
pkgs/stdenv/generic/make-derivation.nix
+3
-3
pkgs/stdenv/generic/make-derivation.nix
···# An infinite recursion here can be caused by having the attribute names of expression `e` in `.overrideAttrs(finalAttrs: previousAttrs: e)` depend on `finalAttrs`. Only the attribute values of `e` can depend on `finalAttrs`.···