diff options
author | Qyriad <qyriad@qyriad.me> | 2024-05-09 11:46:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-05-09 11:46:13 +0000 |
commit | 010bbd1b0e5d57013774ef655cbe886d7a6b434e (patch) | |
tree | 5002fe33d748f85787bc4b6b0878f522d9a05429 /src | |
parent | da0e1f5716be8e983faf4d507af08283e273f2b7 (diff) | |
parent | 54322f09d353e296b06ce8b1f4264749a7ccd489 (diff) |
Merge "nix3-eval: don't elide top-level errors" into main
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/eval.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/eval.cc b/src/nix/eval.cc index a9e4c8968..469ff7391 100644 --- a/src/nix/eval.cc +++ b/src/nix/eval.cc @@ -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, } ) ); |