# Nix recursive sets

The rec keyword indicates that the attributes in the set can refer to each other. Watch out for infinite recursion!

## Examples

rec { x = y; y = 123 }.x


This evaluates to 123.