mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
6110a6009f
Add trace items that provide context for a failed definition that can not be caught within the Nix language. This also adds a test for the `tryEval` behavior of `showDefs`.
4 lines
36 B
Nix
4 lines
36 B
Nix
{
|
|
config.enable = throw "oops";
|
|
}
|