Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-16 | Replace src/libutil/json.cc with nlohmann json generation | Yorick van Pelt | |
2022-01-18 | Get rid of std::shared_ptr<std::string> and ref<std::string> | Eelco Dolstra | |
These were needed back in the pre-C++11 era because we didn't have move semantics. But now we do. | |||
2021-01-27 | Remove mkFlag() | Eelco Dolstra | |
2021-01-13 | Convert option descriptions to Markdown | Eelco Dolstra | |
2020-12-21 | Add 'nix store' NAR-related manpages | Eelco Dolstra | |
2020-12-21 | Add 'nix nar' manpages | Eelco Dolstra | |
2020-12-03 | Move most store-related commands to 'nix store' | Eelco Dolstra | |
2020-12-03 | Move NAR-related commands to 'nix nar' | Eelco Dolstra | |
2020-10-09 | Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-builds | John Ericson | |
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-25 | stdout_ -> cout | John Ericson | |
Better to get creative than just sprinkle arbitrary underscores. | |||
2020-07-30 | Merge remote-tracking branch 'origin/master' into fix-and-ci-static-builds | Matthew Bauer | |
2020-06-29 | Rename logging->stdout to logging->stdout_ | Matthew Bauer | |
musl doesn't like this identifier | |||
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-11 | Cleanup | Eelco Dolstra | |
2020-05-10 | Add completion for paths | Eelco Dolstra | |
2020-05-06 | Merge pull request #3546 from guibou/nix_readfile_on_0_sized_files | Eelco Dolstra | |
builtins.readFile: do not truncate content | |||
2020-05-05 | nix --help: Group commands | Eelco Dolstra | |
2020-04-29 | Remove the `drain` argument from `readFile` | Guillaume Bouchard | |
Now it is always `drain` (see previous commit). | |||
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-16 | Use Logger::stdout() | Eelco Dolstra | |
(cherry picked from commit 8f41847394524fcac40d3b5620139ca7e94a18e3) | |||
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) | |||
2018-11-16 | nix ls-nar: allow reading from FIFOs | Linus Heckemann | |
fixes #2528 | |||
2018-02-19 | Update release notes | Eelco Dolstra | |
Also add some examples to nix --help. | |||
2017-11-14 | nix ls-{nar,store} --json: Respect -R | Eelco Dolstra | |
2017-11-14 | Don't indent JSON output | Eelco Dolstra | |
2017-11-14 | nix ls-{store,nar}: Add --json flag | Eelco Dolstra | |
2017-09-10 | Typo | Eelco Dolstra | |
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-05-15 | nix ls: support '/' for the root directory | Benno Fünfstück | |
2016-11-26 | Revert "Get rid of unicode quotes (#1140)" | Eelco Dolstra | |
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change... | |||
2016-11-25 | Get rid of unicode quotes (#1140) | Guillaume Maudoux | |
2016-02-25 | nix: Add commands to query contents of NARs / binary caches | Eelco Dolstra | |
For example, $ NIX_REMOTE=file:///my-cache nix ls-store -lR /nix/store/f4kbgl8shhyy76rkk3nbxr0lz8d2ip7q-binutils-2.23.1 dr-xr-xr-x 0 ./bin -r-xr-xr-x 30748 ./bin/addr2line -r-xr-xr-x 66973 ./bin/ar ... Similarly, "nix ls-nar" lists the contents of a NAR file, "nix cat-nar" extracts a file from a NAR file, and "nix cat-store" extract a file from a Nix store. |