Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-07 | restoreSignals() + restoreAffinity() -> restoreProcessContext() | Eelco Dolstra | |
2021-04-05 | buildable.{cc,hh} -> derived-path.{cc,hh} | John Ericson | |
2021-04-05 | Rename Buildable | John Ericson | |
2021-04-05 | Use `BuildableReq` for `buildPaths` and `ensurePath` | John Ericson | |
This avoids an ambiguity where the `StorePathWithOutputs { drvPath, {} }` could mean "build `brvPath`" or "substitute `drvPath`" depending on context. It also brings the internals closer in line to the new CLI, by generalizing the `Buildable` type is used there and makes that distinction already. In doing so, relegate `StorePathWithOutputs` to being a type just for backwards compatibility (CLI and RPC). | |||
2021-03-19 | ProgressBar: Respect verbosity level | Eelco Dolstra | |
This makes its behaviour consistent with SimpleLogger. | |||
2021-02-24 | Initialize plugins after handling initial command line flags | Shea Levy | |
This is technically a breaking change, since attempting to set plugin files after the first non-flag argument will now throw an error. This is acceptable given the relative lack of stability in a plugin interface and the need to tie the knot somewhere once plugins can actually define new subcommands. | |||
2021-01-27 | Remove mkFlag() | Eelco Dolstra | |
2021-01-25 | Group common options | Eelco Dolstra | |
2021-01-13 | Convert option descriptions to Markdown | Eelco Dolstra | |
2021-01-08 | Support binary unit prefixes in command line arguments | Eelco Dolstra | |
2021-01-08 | string2Int(): Return std::optional | Eelco Dolstra | |
2021-01-08 | Remove mkFlag integer specialisation | Eelco Dolstra | |
2021-01-06 | Make sodium a required dependency | Eelco Dolstra | |
2021-01-06 | Move sodium_init() call | Eelco Dolstra | |
2020-11-26 | Ask for confirmation before allowing flake Nix configuration settings | Eelco Dolstra | |
2020-10-29 | Fix assertion failure in tab completion for --option | Eelco Dolstra | |
2020-10-28 | Capitalize JSON for consistency | Matthew Kenigsberg | |
2020-10-09 | Add a description in the completion outputs | regnat | |
Make nix output completions in the form `completion\tdescription`. This can't be used by bash (afaik), but other shells like zsh or fish can display it along the completion choices | |||
2020-10-06 | Factor out common showBytes() | Eelco Dolstra | |
2020-09-26 | libmain/progress-bar: don't trim whitespace on the left | Maximilian Bosch | |
When running `nix build -L` it can be fairly hard to read the output if the build program intentionally renders whitespace on the left. A typical example is `g++` displaying compilation errors. With this patch, the whitespace on the left is retained to make the log more readable: ``` foo> no configure script, doing nothing foo> building foo> foobar.cc: In function 'int main()': foo> foobar.cc:5:5: error: 'wrong_func' was not declared in this scope foo> 5 | wrong_func(1); foo> | ^~~~~~~~~~ error: --- Error ------------------------------------------------------------------------------------- nix error: --- Error --- nix-daemon builder for '/nix/store/i1q76cw6cyh91raaqg5p5isd1l2x6rx2-foo-1.0.drv' failed with exit code 1 ``` | |||
2020-08-19 | Change option descriptions to Markdown | Eelco Dolstra | |
2020-08-17 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-10 | Always reset ANSI colors in progress-bar line | Maximilian Bosch | |
When having a message like `waiting for a machine to build X` and building with `nix build -L`, the log-prefix is always colored yellow[1] on a small terminal-width as everything (including the ANSI color-reset) is stripped away. To work around that problem, this patch explicitly adds an `ANSI_NORMAL` to the end of the line. [1] https://imgur.com/a/FjtJOk3 | |||
2020-07-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-24 | printVersion(): Show system types | Eelco Dolstra | |
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-06-30 | comments and cleanup | Ben Burdette | |
2020-06-29 | showTrace flag in loggers | Ben Burdette | |
2020-06-29 | Fix bash completion | Eelco Dolstra | |
2020-06-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-25 | showTrace flag for ErrorInfo; showTrace test. | Ben Burdette | |
2020-06-24 | re-enable --show-trace check | Ben Burdette | |
2020-06-19 | addErrorTrace | Ben Burdette | |
2020-06-17 | Mention number of derivations to be build/fetched in output | Joe Hermaszewski | |
Also correct grammar for the case of a single derivation. | |||
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-15 | Include only the base name of the program in error messages | Eelco Dolstra | |
2020-06-15 | Always hide the progress bar on exit | Eelco Dolstra | |
2020-06-15 | Improve "waiting for locks" messages | Eelco Dolstra | |
These are now shown in the progress bar. Closes #3577. | |||
2020-06-15 | Remove trailing whitespace | Eelco Dolstra | |
2020-06-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-06-11 | Shut up warning | Eelco Dolstra | |
2020-06-11 | Style fixes | Eelco Dolstra | |
2020-06-08 | Move progress-bar.cc to libmain | regnat | |
Needed so that we can include it as a logger in loggers.cc without adding a dependency on nix This also requires moving names.hh to libutil to prevent a circular dependency between libmain and libexpr | |||
2020-06-08 | Style fixes | Eelco Dolstra | |
2020-06-08 | Unify the printing of the logs between bar-with-logs and raw | regnat | |
Make the printing of the build logs systematically go through the logger, and replicate the behavior of `no-build-output` by having two different loggers (one that prints the build logs and one that doesn't) | |||
2020-06-08 | Make the logger customisable | regnat | |
Add a new `--log-format` cli argument to change the format of the logs. The possible values are - raw (the default one for old-style commands) - bar (the default one for new-style commands) - bar-with-logs (equivalent to `--print-build-logs`) - internal-json (the internal machine-readable json format) | |||
2020-05-11 | fixes to merged code | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |