diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-06T14·46+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-06T14·46+0100 |
commit | 7a61c88dbb517453f73c5b4ede4a4468e38cae32 (patch) | |
tree | 7c81bd319d5b52a1f2c5f97bedf4f81808127729 /tests/lang/eval-okay-redefine-builtin.nix | |
parent | 485f4740ee3ba4228ba3345873eb530466a8f42d (diff) | |
parent | cd49fe4f9b338242e1e404fd4dbb0a3ebc1c3a12 (diff) |
Merge branch 'dynamic-attrs-no-sugar' of github.com:shlevy/nix
Diffstat (limited to 'tests/lang/eval-okay-redefine-builtin.nix')
-rw-r--r-- | tests/lang/eval-okay-redefine-builtin.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-redefine-builtin.nix b/tests/lang/eval-okay-redefine-builtin.nix new file mode 100644 index 000000000000..df9fc3f37d22 --- /dev/null +++ b/tests/lang/eval-okay-redefine-builtin.nix @@ -0,0 +1,3 @@ +let + throw = abort "Error!"; +in (builtins.tryEval <foobaz>).success |