aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r--src/libcmd/repl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc
index 4aa46dbc0..9811ea30c 100644
--- a/src/libcmd/repl.cc
+++ b/src/libcmd/repl.cc
@@ -167,7 +167,8 @@ struct NixRepl
.force = true,
.derivationPaths = true,
.maxDepth = maxDepth,
- .prettyIndent = 2
+ .prettyIndent = 2,
+ .errors = ErrorPrintBehavior::ThrowTopLevel,
});
}
};