Fixes #350, https://github.com/NixOS/nix/issues/9020 Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: If78d144dc35839b7668c0e0ad796252fcfc42ea0
12 lines
182 B
Nix
12 lines
182 B
Nix
{
|
|
foo = {
|
|
# this attribute set is not recursive
|
|
bar = 1;
|
|
};
|
|
foo = rec {
|
|
# merging this attrset to foo.bar, discards the `rec` modifier
|
|
x = 1;
|
|
y = x;
|
|
};
|
|
}
|