diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-10-22 15:15:12 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-10-22 15:15:12 +0000 |
commit | cf7e645a48a31e04428778a8d39924a3da8a30f8 (patch) | |
tree | de1cff3113dad4bf13f68e42e679f22a8b130705 /tests/lang/eval-okay-overrides.nix | |
parent | 41c45a9b319a5578e2731505ca3de2b9c50b4988 (diff) |
* Regression test for __overrides.
Diffstat (limited to 'tests/lang/eval-okay-overrides.nix')
-rw-r--r-- | tests/lang/eval-okay-overrides.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-overrides.nix b/tests/lang/eval-okay-overrides.nix new file mode 100644 index 000000000..358742b36 --- /dev/null +++ b/tests/lang/eval-okay-overrides.nix @@ -0,0 +1,9 @@ +let + + overrides = { a = 2; }; + +in (rec { + __overrides = overrides; + x = a; + a = 1; +}).x |