diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-04-28 16:57:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-04-28 17:03:04 +0200 |
commit | 17e6b85d05b3d32df244b1d4e89aa41fd8bdcae8 (patch) | |
tree | 2c508889b0a4e29671b71bd0474519eb513fac5f /src/libcmd/command.cc | |
parent | 89d3cc5a47a448f624ea4c9b43eeee00dcc88a21 (diff) |
nix: Support the --repair flag
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r-- | src/libcmd/command.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index bedf11e2c..6c4648b34 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -121,6 +121,8 @@ ref<EvalState> EvalCommand::getEvalState() #endif ; + evalState->repair = repair; + if (startReplOnEvalErrors) { evalState->debugRepl = &AbstractNixRepl::runSimple; }; |