mirror of
https://github.com/NixOS/nix
synced 2024-09-22 11:50:24 -04:00
81a4b4e49b
branch. Also added a test for tryEval.
6 lines
114 B
Nix
6 lines
114 B
Nix
{
|
|
x = builtins.tryEval "x";
|
|
y = builtins.tryEval (assert false; "y");
|
|
z = builtins.tryEval (throw "bla");
|
|
}
|