From a2f1023f57b9ce21b195fbcdcf48fe9d9cda7795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sun, 22 Jun 2025 15:23:45 +0200 Subject: [PATCH] doc: fix example consistency on `mapAttrsRecursiveCond` The example should take a two argument function `f`. --- lib/attrsets.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/attrsets.nix b/lib/attrsets.nix index 84ae52454968..8fac72e741c7 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -1163,7 +1163,7 @@ rec { ```nix mapAttrsRecursiveCond (as: !(as ? "type" && as.type == "derivation")) - (x: x.name) + (path: x: x.name) attrs ``` :::