1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

* Don't show trace information by default (`--show-trace' to enable).

NixOS evaluation errors in particular look intimidating and
  generally aren't very useful.  Ideally the builtins.throw messages
  should be self-contained.
This commit is contained in:
Eelco Dolstra 2009-06-30 13:28:29 +00:00
parent a2fc3a53ba
commit f2c3fc5191
6 changed files with 21 additions and 3 deletions

View file

@ -33,7 +33,7 @@ BaseError::BaseError(const format & f)
BaseError & BaseError::addPrefix(const format & f)
{
err = f.str() + err;
prefix_ = f.str() + prefix_;
return *this;
}