Skip to content
This repository was archived by the owner on Aug 27, 2018. It is now read-only.

Improve NixOS evaluation error messages #15

@edolstra

Description

@edolstra

If a NixOS option has a value that doesn't match the type of the option, you get a giant stack trace that is pretty hard to read and obscures the actual error message in a trace (e.g. "trace: x is a string ...").

Instead we should turn off strack traces, and the option evaluation code should throw an error message like

error: option ‘services.bla.config’ must have type string but has a value of type integer in module ‘/foo/bar/configuration.nix’

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions