mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
81a4b4e49b
branch. Also added a test for tryEval.
5 lines
114 B
Nix
5 lines
114 B
Nix
{
|
|
x = builtins.tryEval "x";
|
|
y = builtins.tryEval (assert false; "y");
|
|
z = builtins.tryEval (throw "bla");
|
|
}
|