nix-learn/nix-language/AttributeSets/recursiveAttribute.nix

13 lines
138 B
Nix

rec {
one = 1;
two = one + 1;
three = two + 1;
}
# failing counter-example
#{
# one = 1;
# two = one + 1;
# three = two + 1;
#}