Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-30 | Fix insufficent attribute capacity in user profile | David McFarland | |
2020-12-17 | Rename Value::normalType() -> Value::type() | Silvan Mosberger | |
2020-12-12 | Use Value::normalType on all forced values instead of Value::type | Silvan Mosberger | |
2020-10-09 | Split out `local-fs-store.hh` | John Ericson | |
This matches the already-existing `local-fs-store.cc`. | |||
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-09-21 | Don't include <regex> in header files | Eelco Dolstra | |
This reduces compilation time by ~15 seconds (CPU time). Issue #4045. | |||
2020-09-03 | createGeneration(): Take a StorePath | Eelco Dolstra | |
2020-07-23 | Get rid of `basicDerivation::findOutput` | John Ericson | |
It's a tiny function which is: - hardly worth abstrating over, and also only used once. - doesn't work once we get CA drvs I rewrote the one callsite to be forwards compatable with CA derivations, and also potentially more performant: instead of reading in the derivation it can ust consult the SQLite DB in the common case. | |||
2020-07-16 | Generations API cleanup | Eelco Dolstra | |
2020-06-24 | convenience form of addTrace | Ben Burdette | |
2020-06-19 | addErrorTrace | Ben Burdette | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
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-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-06-02 | elide the 'ErrorInfo' in logError and logWarning calls | Ben Burdette | |
2020-05-13 | formatting and a few minor changes | Ben Burdette | |
2020-05-13 | change status messages to info level | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-03 | convert some printError calls to logError | Ben Burdette | |
2020-04-28 | Tweak warning message | Eelco Dolstra | |
2020-04-25 | nix-env: refactor uninstallDerivations | Linus Heckemann | |
Reduces the number of store queries it performs. Also prints a warning if any of the selectors did not match any installed derivations. UX Caveats: - Will print a warning that nothing matched if a previous selector already removed the path - Will not do anything if no selectors were provided (no change from before). Fixes #3531 | |||
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-03 | nix-env: Refuse to operate on a new-style profile | Eelco Dolstra | |
This prevents users from accidentally nuking their profile via nix-env. (cherry picked from commit 021634e3e3edb327089d33ab41b743f0a40126da) | |||
2020-03-30 | Remove global -I flags | Eelco Dolstra | |
(cherry picked from commit 2c692a3b144523bca68dd6de618124ba6c9bb332) | |||
2020-03-24 | Misc changes from the flakes branch | Eelco Dolstra | |
2020-03-24 | findAlongAttrPath(): Return position | Eelco Dolstra | |
(cherry picked from commit 0b013a54dc570395bed887369f8dd622b8ce337b) | |||
2020-03-13 | Merge pull request #3380 from contrun/no-attr-path-for-installed | Eelco Dolstra | |
display attr-path only when queried available | |||
2020-03-14 | display attr-path only when queried available | YI | |
2020-03-11 | Move some corepkgs into the nix binary | Eelco Dolstra | |
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-11-22 | getEnv(): Return std::optional | Eelco Dolstra | |
This allows distinguishing between an empty value and no value. | |||
2019-10-10 | nix-env: Ignore failures creating ~/.nix-profile and ~/.nix-defexpr | Eelco Dolstra | |
https://hydra.nixos.org/build/102803093 | |||
2019-10-09 | nix-env: Create ~/.nix-defexpr automatically | Eelco Dolstra | |
2019-10-09 | nix-env: Create ~/.nix-profile automatically | Eelco Dolstra | |
2019-10-09 | OCD performance fix: {find,count}+insert => insert | Eelco Dolstra | |
2019-07-27 | Add pname and version to nix-env -q --json | Tom McLaughlin | |
2018-10-26 | Merge all nix-* binaries into nix | Eelco Dolstra | |
These are all symlinks to 'nix' now, reducing the installed size by about ~1.7 MiB. | |||
2018-09-17 | nix-env: Fix segfault if -f argument is not a directory or a Nix expression | Eelco Dolstra | |
Fixes #2425. | |||
2018-05-31 | Merge pull request #767 from mogorman/garbage_collect_keep_last_few | Peter Simons | |
Implement --delete-generations + flag for keeping last N number of gens | |||
2018-05-02 | Fix some random -Wconversion warnings | Eelco Dolstra | |
2018-03-01 | Update nix-env.cc | Matt O'Gorman | |
missing comma | |||
2018-03-01 | this updates issues that were addressed by people in pr | Matthew O'Gorman | |
2018-03-01 | Implement --delete-generations + flag for keeping last N number of generations | Matthew O'Gorman | |
2018-02-08 | Add plugins to make Nix more extensible. | Shea Levy | |
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports. | |||
2017-10-24 | nix: Respect -I, --arg, --argstr | Eelco Dolstra | |
Also, random cleanup to argument handling. | |||
2017-07-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||
2017-07-20 | Add "nix search" command | Eelco Dolstra | |
2017-07-03 | Replace a few bool flags with enums | Eelco Dolstra | |
Functions like copyClosure() had 3 bool arguments, which creates a severe risk of mixing up arguments. Also, implement copyClosure() using copyPaths(). | |||
2017-05-16 | Improve progress indicator | Eelco Dolstra | |