diff options
-rw-r--r-- | nix/nix-1p/README.md | 3 |
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 |