nix3-eval: don't elide top-level errors

Fixes #276.

Change-Id: I83e71beb5c35d6f3b10a4186caa5e52a2f95b510
This commit is contained in:
Qyriad 2024-05-07 18:28:29 -06:00
parent 8822fd7dd5
commit ccb9981f68

View file

@ -1,5 +1,6 @@
#include "command-installable-value.hh"
#include "common-args.hh"
#include "print-options.hh"
#include "shared.hh"
#include "store-api.hh"
#include "eval.hh"
@ -127,7 +128,8 @@ struct CmdEval : MixJSON, InstallableValueCommand, MixReadOnlyOption
*v,
PrintOptions {
.force = true,
.derivationPaths = true
.derivationPaths = true,
.errors = ErrorPrintBehavior::ThrowTopLevel,
}
)
);