mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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";
|
|
}
|