mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +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";
|
|
}
|