Fixes #350, https://github.com/NixOS/nix/issues/9020 Co-authored-by: Commentator2.0 <lix@crystal-cavern.systems> Change-Id: If78d144dc35839b7668c0e0ad796252fcfc42ea0
10 lines
189 B
Nix
10 lines
189 B
Nix
{
|
|
foo.bar = 1;
|
|
# ^~~ we are implicitly creating a non-recursive attrset
|
|
foo = rec {
|
|
# merging this attrset to foo.bar, discards the `rec` modifier
|
|
x = 1;
|
|
y = x;
|
|
};
|
|
}
|