From 1e4395e76901e7f4fa854a455d6d4916b3903bc9 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Mon, 28 Oct 2024 13:27:35 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20typo=20"derivaton"=20=E2=86=92=20?= =?UTF-8?q?"derivation"=20(=C3=973)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/doc-support/lib-function-docs.nix | 2 +- pkgs/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/doc-support/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix index 4306fa926278..61671bd39059 100644 --- a/doc/doc-support/lib-function-docs.nix +++ b/doc/doc-support/lib-function-docs.nix @@ -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"; diff --git a/pkgs/README.md b/pkgs/README.md index 052120faa089..3a4b8b3cb67f 100644 --- a/pkgs/README.md +++ b/pkgs/README.md @@ -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`: