aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/repl.cc
AgeCommit message (Collapse)Author
2022-08-22nix repl: Stop the progress barEelco Dolstra
The repl was broken since c3769c68465bae971ab6bb48cfcdea85b61ea83a. In general, the progress bar is incompatible with the repl.
2022-06-29Merge pull request #6233 from flox/nix-repl-flakesThéophane Hufschmitt
Nix repl flakes
2022-06-23Don't capture stdout when launching subshells in `nix repl`Dave Nicponski
2022-06-15Merge branch 'master' into nix-repl-flakesTom Bereknyei
2022-06-02Merge branch 'master' into nix-repl-flakesTom Bereknyei
2022-05-31repl: `--option pure-eval true` actually enables pure eval modeMaximilian Bosch
To quote Eelco in #5867: > Unfortunately we can't do > > evalSettings.pureEval.setDefault(false); > > because then we have to do the same in main.cc (where > pureEval is set to true), and that would allow pure-eval > to be disabled globally from nix.conf. Instead, a command should specify that it should be impure by default. Then, `evalSettings.pureEval` will be set to `false;` unless it's overridden by e.g. a CLI flag. In that case it's IMHO OK to be (theoretically) able to override `pure-eval` via `nix.conf` because it doesn't have an effect on commands where `forceImpureByDefault` returns `false` (i.e. everything where pure eval actually matters). Closes #5867
2022-05-25remove parens from repl helpBen Burdette
2022-05-25back to ref<EvalState> in NixReplBen Burdette
2022-05-25Style tweaksEelco Dolstra
2022-05-23commentBen Burdette
2022-05-22remove redundant 'debugMode' flagBen Burdette
2022-05-22change state derefsBen Burdette
2022-05-22changning repl to use EvalState& instead of refBen Burdette
2022-05-19'debugMode'Ben Burdette
2022-05-19de-const evalState exceptionsBen Burdette
2022-05-19Merge branch 'debug-exploratory-PR' into debuggerHook-eval-argBen Burdette
2022-05-19use an expr->StaticEnv table in evalStateBen Burdette
2022-05-16first whack at passing evalState as an arg to debuggerHook.Ben Burdette
2022-05-15remove extra argumentBen Burdette
2022-05-05fix repl bugBen Burdette
2022-05-05traceable_allocatorBen Burdette
2022-05-05rename debug commands to be more gdb-like; hide them except in debug modeBen Burdette
2022-05-05Style fixesEelco Dolstra
In particular, use std::make_shared and enumerate(). Also renamed some fields to fit naming conventions.
2022-04-29line endingsBen Burdette
2022-04-29incorporate PosIdx changes, symbol changes.Ben Burdette
2022-04-28Merge branch 'master' into debug-merge-masterBen Burdette
2022-04-08revise command helpBen Burdette
2022-04-08trace stack, not call stackBen Burdette
2022-04-08minor cleanupBen Burdette
2022-04-08remove 'debugError', dead codeBen Burdette
2022-04-08move throw to preverve Error type; turn off debugger for tryEvalBen Burdette
2022-04-07Merge remote-tracking branch 'upstream/master' into upstream-mergeBen Burdette
2022-04-07in debugger mode, print the current error when another repl returns.Ben Burdette
2022-04-07newline before envBen Burdette
2022-04-06show expr pos if DebugTrace one is noPosBen Burdette
2022-03-31show 'with' bindings as well as staticBen Burdette
2022-03-28load debug trace staticenv on 'show'Ben Burdette
2022-03-28debugTraceIndexBen Burdette
2022-02-15quit repl from step modeBen Burdette
2022-02-14make an 'info' level error on breakBen Burdette
2022-02-04Merge branch 'master' into debug-stepBen Burdette
2022-02-03break() primop; step and go debug commandsBen Burdette
2022-01-08optinoal error; compilesBen Burdette
2022-01-07add env to DebugTraceBen Burdette
2022-01-05revert value-addBen Burdette
2022-01-05add colors; remove headingsBen Burdette
2022-01-03merge cleanupBen Burdette
2022-01-03Merge branch 'master' into debug-exploratory-PRBen Burdette
2021-12-27more cleanupBen Burdette
2021-12-27remove debug codeBen Burdette