Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-20 | Allow 'nix' subcommands to provide docs in Markdown format | Eelco Dolstra | |
2020-08-06 | Minimize the usage of `Hash::dummy` | John Ericson | |
2020-07-30 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-23 | Fix test suite | Carlo Nucera | |
2020-06-23 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-22 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-19 | More designated initializers | John Ericson | |
2020-06-19 | Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-17 | Update strings from review comment | Matthew Bauer | |
2020-06-12 | Fix add-to-store --flat to put in correct hash | Matthew Bauer | |
2020-06-12 | Add --flat to nix add-to-store | Matthew Bauer | |
This can be used to add flat hashes to the nix store. | |||
2020-06-04 | Make sure info.ca tag bit is set in `nix add-to-store` | John Ericson | |
2020-06-03 | No C++ designated initializers yet with Clang 7 | John Ericson | |
2020-06-02 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | WIP | John Ericson | |
2020-05-29 | Remove addToStore variant as requested by `FIXME` | John Ericson | |
The idea is it's always more flexible to consumer a `Source` than a plain string, and it might even reduce memory consumption. I also looked at `addToStoreFromDump` with its `// FIXME: remove?`, but the worked needed for that is far more up for interpretation, so I punted for now. | |||
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-26 | Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod | Carlo Nucera | |
2020-05-05 | nix --help: Group commands | Eelco Dolstra | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-04-16 | Use Logger::stdout() | Eelco Dolstra | |
(cherry picked from commit 8f41847394524fcac40d3b5620139ca7e94a18e3) | |||
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |
2020-03-29 | Use `enum struct` and drop prefixes | John Ericson | |
This does a few enums; the rest will be gotten in subsequent commits. | |||
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-12-05 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
(cherry picked from commit a0de58f471c9087d8e6cc60a6078f9940a125b15) | |||
2019-03-14 | experimental/optional -> optional | Eelco Dolstra | |
2017-09-14 | Add "nix add-to-store" command | Eelco Dolstra | |