mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01: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`.
3 lines
36 B
Nix
3 lines
36 B
Nix
{
|
|
config.enable = throw "oops";
|
|
}
|