* Regression test for __overrides.
This commit is contained in:
parent
41c45a9b31
commit
cf7e645a48
2 changed files with 10 additions and 0 deletions
1
tests/lang/eval-okay-overrides.exp
Normal file
1
tests/lang/eval-okay-overrides.exp
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
9
tests/lang/eval-okay-overrides.nix
Normal file
9
tests/lang/eval-okay-overrides.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
let
|
||||
|
||||
overrides = { a = 2; };
|
||||
|
||||
in (rec {
|
||||
__overrides = overrides;
|
||||
x = a;
|
||||
a = 1;
|
||||
}).x
|
Loading…
Reference in a new issue