Skip to content

Commit

Permalink
docs: fix typo "derivaton" → "derivation" (×3) (#351874)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 28, 2024
2 parents 5dc4543 + 1e4395e commit 7e9f934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/doc-support/lib-function-docs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}
{
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";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,8 @@ buildGoModule rec {
}
```

Any derivaton 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`.
Any derivation can be specified as a test, even if it's in a different file.
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`:

Expand Down

0 comments on commit 7e9f934

Please sign in to comment.