doc: fix example consistency on mapAttrsRecursiveCond

The example should take a two argument function `f`.
This commit is contained in:
Léana 江 2025-06-22 15:23:45 +02:00
parent 38e5187aee
commit a2f1023f57
No known key found for this signature in database
GPG Key ID: 4E887A4CA9714ADA

View File

@ -1163,7 +1163,7 @@ rec {
```nix
mapAttrsRecursiveCond
(as: !(as ? "type" && as.type == "derivation"))
(x: x.name)
(path: x: x.name)
attrs
```
:::