summaryrefslogtreecommitdiff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2025-01-29 22:05:21 +0100
committerRobert Hensing <robert@roberthensing.nl>2025-01-29 22:13:16 +0100
commit55a11de1b0474788e59d6af6da77b858d7c582c1 (patch)
tree472d410b1a349f45e0307d3a8c78388208f2174d /lib/default.nix
parentlib: Discourage use of extend (diff)
downloadnixpkgs-55a11de1b0474788e59d6af6da77b858d7c582c1.tar.gz
lib/default.nix: Update extend doc
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index e77d053b8cc0..1557f33b5dd3 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -13,8 +13,13 @@ let
/**
Patch the Nixpkgs library
+ A function that applies patches onto the nixpkgs library.
+ Usage is discouraged for most scenarios.
+
+ :::{.note}
The name `extends` is a bit misleading, as it doesn't actually extend the library, but rather patches it.
It is merely a consequence of being implemented by `makeExtensible`.
+ :::
# Inputs