nixpkgs/lib/tests/modules/define-enable-abort.nix
Robert Hensing 6110a6009f lib/modules: Add context to the "option does not exist" error
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`.
2022-12-02 11:06:53 +00:00

4 lines
36 B
Nix

{
config.enable = abort "oops";
}