Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-05-10 | Simplify | Eelco Dolstra | |
2020-05-10 | nix: Implement basic bash completion | Eelco Dolstra | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-05-04 | separate msgs instead of appending to what() | Ben Burdette | |
2020-05-03 | convert some printError calls to logError | Ben Burdette | |
2020-04-24 | all things error to error.hh | Ben Burdette | |