docs: fix typo "derivaton" → "derivation" (×3)

This commit is contained in:
Samuel Tardieu
2024-10-28 13:27:35 +01:00
parent 16a93552ed
commit 1e4395e769
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@
} }
{ {
name = "customisation"; name = "customisation";
description = "Functions to customise (derivation-related) functions, derivatons, or attribute sets"; description = "Functions to customise (derivation-related) functions, derivations, or attribute sets";
} }
{ {
name = "meta"; name = "meta";

View File

@@ -628,8 +628,8 @@ buildGoModule rec {
} }
``` ```
Any derivaton can be specified as a test, even if it's in a different file. Any derivation can be specified as a test, even if it's in a different file.
Such a derivaton that implements a test can depend on the package under test, even in the presence of `overrideAttrs`. Such a derivation that implements a test can depend on the package under test, even in the presence of `overrideAttrs`.
In the following example, `(my-package.overrideAttrs f).passthru.tests` will work as expected, as long as the definition of `tests` does not rely on the original `my-package` or overrides all occurrences of `my-package`: In the following example, `(my-package.overrideAttrs f).passthru.tests` will work as expected, as long as the definition of `tests` does not rely on the original `my-package` or overrides all occurrences of `my-package`: