about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/nix-1p/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md
index c0df448a4358..2b4196267353 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