diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md index c0df448a4..2b4196267 100644 --- a/nix/nix-1p/README.md +++ b/nix/nix-1p/README.md @@ -96,6 +96,9 @@ second line # attribute sets (field access with dot syntax) { a = 15; b = "something else"; } + +# recursive attribute sets (fields can reference each other) +rec { a = 15; b = a * 2; } ``` ## Variable bindings