Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-20 | Fix unreachable error message | Guillaume Maudoux | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||
2023-01-19 | Revert "Revert "Merge pull request #6204 from layus/coerce-string"" | Guillaume Maudoux | |
This reverts commit 9b33ef3879a764bed4cc2404a08344c3a697a646. | |||
2023-01-18 | Revert "Merge pull request #6204 from layus/coerce-string" | Robert Hensing | |
This reverts commit a75b7ba30f1e4f8b15e810fd18e63ee9552e0815, reversing changes made to 9af16c5f742300e831a2cc400e43df1e22f87f31. | |||
2023-01-11 | Remove default constructor from `OutputsSpec` | John Ericson | |
This forces us to be explicit. It also requires to rework how `from_json` works. A `JSON_IMPL` is added to assist with this. | |||
2023-01-02 | Merge remote-tracking branch 'origin/master' into coerce-string | Eelco Dolstra | |
2022-12-13 | Improve cast safety | Eelco Dolstra | |
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | |||
2022-12-13 | Introduce AbstractPos | Eelco Dolstra | |
This makes the position object used in exceptions abstract, with a method getSource() to get the source code of the file in which the error originated. This is needed for lazy trees because source files don't necessarily exist in the filesystem, and we don't want to make libutil depend on the InputAccessor type in libfetcher. | |||
2022-12-07 | Trivial changes from the lazy-trees branch | Eelco Dolstra | |
2022-11-28 | use logger->cout | Naïm Favier | |
in order to avoid potential problems with the progress bar Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2022-11-28 | repl: print a newline on ctrl-D | Naïm Favier | |
2022-11-02 | Temporarily disable the debugger during completion evaluation | Yorick van Pelt | |
readline is not re-entrant, so entering the debugger from the completioncallback results in an eventual segfault. The workaround is to temporarily disable the debugger when searching for possible completions. | |||
2022-10-16 | Merge remote-tracking branch 'origin/master' into coerce-string | Guillaume Maudoux | |
2022-10-13 | Fix clang warnings | Eelco Dolstra | |
2022-09-20 | nix repl: warn if creating dir for history fails | Alyssa Ross | |
The history is not critical to the functionality of nix repl, so it's enough to warn here, rather than refuse to start if the directory Nix thinks the history should live in can't be created. | |||
2022-09-07 | WIP: broken merge but need a git checkpoint | Guillaume Maudoux | |
2022-08-22 | nix repl: Stop the progress bar | Eelco Dolstra | |
The repl was broken since c3769c68465bae971ab6bb48cfcdea85b61ea83a. In general, the progress bar is incompatible with the repl. | |||
2022-06-29 | Merge pull request #6233 from flox/nix-repl-flakes | Théophane Hufschmitt | |
Nix repl flakes | |||
2022-06-23 | Don't capture stdout when launching subshells in `nix repl` | Dave Nicponski | |
2022-06-15 | Merge branch 'master' into nix-repl-flakes | Tom Bereknyei | |
2022-06-02 | Merge branch 'master' into nix-repl-flakes | Tom Bereknyei | |
2022-05-31 | repl: `--option pure-eval true` actually enables pure eval mode | Maximilian 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-25 | remove parens from repl help | Ben Burdette | |
2022-05-25 | back to ref<EvalState> in NixRepl | Ben Burdette | |
2022-05-25 | Style tweaks | Eelco Dolstra | |
2022-05-23 | comment | Ben Burdette | |
2022-05-22 | remove redundant 'debugMode' flag | Ben Burdette | |
2022-05-22 | change state derefs | Ben Burdette | |
2022-05-22 | changning repl to use EvalState& instead of ref | Ben Burdette | |
2022-05-19 | 'debugMode' | Ben Burdette | |
2022-05-19 | de-const evalState exceptions | Ben Burdette | |
2022-05-19 | Merge branch 'debug-exploratory-PR' into debuggerHook-eval-arg | Ben Burdette | |
2022-05-19 | use an expr->StaticEnv table in evalState | Ben Burdette | |
2022-05-16 | first whack at passing evalState as an arg to debuggerHook. | Ben Burdette | |
2022-05-15 | remove extra argument | Ben Burdette | |
2022-05-05 | fix repl bug | Ben Burdette | |
2022-05-05 | traceable_allocator | Ben Burdette | |
2022-05-05 | rename debug commands to be more gdb-like; hide them except in debug mode | Ben Burdette | |
2022-05-05 | Style fixes | Eelco Dolstra | |
In particular, use std::make_shared and enumerate(). Also renamed some fields to fit naming conventions. | |||
2022-04-29 | line endings | Ben Burdette | |
2022-04-29 | incorporate PosIdx changes, symbol changes. | Ben Burdette | |
2022-04-28 | Merge branch 'master' into debug-merge-master | Ben Burdette | |
2022-04-08 | revise command help | Ben Burdette | |
2022-04-08 | trace stack, not call stack | Ben Burdette | |
2022-04-08 | minor cleanup | Ben Burdette | |
2022-04-08 | remove 'debugError', dead code | Ben Burdette | |
2022-04-08 | move throw to preverve Error type; turn off debugger for tryEval | Ben Burdette | |
2022-04-07 | Merge remote-tracking branch 'upstream/master' into upstream-merge | Ben Burdette | |
2022-04-07 | in debugger mode, print the current error when another repl returns. | Ben Burdette | |
2022-04-07 | newline before env | Ben Burdette | |
2022-04-06 | show expr pos if DebugTrace one is noPos | Ben Burdette | |