Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-21 | Random header cleanup | Eelco Dolstra | |
2020-09-21 | Move Callback into its own header | Eelco Dolstra | |
This gets rid of the inclusion of <future> in util.hh, cutting compilation time by ~20s (CPU time). Issue #4045. | |||
2020-08-20 | Allow 'nix' subcommands to provide docs in Markdown format | Eelco Dolstra | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-07-30 | unsigned long long -> uint64_t | Eelco Dolstra | |
2020-07-16 | Merge branch 'optional-derivation-output-storepath' of ↵ | Carlo Nucera | |
github.com:obsidiansystems/nix into ca-derivation-data-types | |||
2020-07-12 | Move C++17 "pattern matching" boilerplat to utils.hh | John Ericson | |
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-15 | Merge branch 'errors-phase-2' of https://github.com/bburdette/nix | Eelco Dolstra | |
2020-06-12 | Use `std::string_view` in a few more places | John Ericson | |
2020-06-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-06-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-04 | Make 'nix dev-shell' a deprecated alias for 'nix develop' | Eelco Dolstra | |
2020-05-28 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-10 | Simplify | Eelco Dolstra | |
2020-05-08 | Enable `baseNameOf` test | Tobias Pflug | |
Add note about removal of trailing slashes in the doc comment of baseNameOf and enabled the test. | |||
2020-05-08 | Enable `dirOf` test | Tobias Pflug | |
Adjusted the doc comment for `dirOf` to reflect the implementation behavior. | |||
2020-05-07 | Remove replaceInSet | Tobias Pflug | |
The function isn't being used anywhere so it seems safe to remove | |||
2020-05-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-29 | StringSink pre allocate | Guillaume Bouchard | |
When used with `readFile`, we have a pretty good heuristic of the file size, so `reserve` this in the `string`. This will save some allocation / copy when the string is growing. | |||
2020-04-29 | Remove the `drain` argument from `readFile` | Guillaume Bouchard | |
Now it is always `drain` (see previous commit). | |||
2020-04-24 | all things error to error.hh | Ben Burdette | |
2020-04-23 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-22 | Don't include error.hh in util.hh to prevent header bloat | Eelco Dolstra | |
2020-04-22 | Merge branch 'error-format' of https://github.com/bburdette/nix | Eelco Dolstra | |
2020-04-21 | add ErrorInfo to BaseError | Ben Burdette | |
2020-04-16 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-14 | add NIX_USER_CONF_FILES | zimbatm | |
Motivation: maintain project-level configuration files. Document the whole situation a bit better so that it corresponds to the implementation, and add NIX_USER_CONF_FILES that allows overriding which user files Nix will load during startup. | |||
2020-04-06 | Merge branch 'master' into error-format | Ben Burdette | |
2020-03-30 | Backport 'nix dev-shell' from the flakes branch | Eelco Dolstra | |
This also adds a '--profile' option to 'nix build' (replacing 'nix-env --set'). | |||
2020-03-30 | build with make | Ben Burdette | |
2020-03-27 | remove util.hh from deps | Ben Burdette | |
2020-03-24 | Misc changes from the flakes branch | Eelco Dolstra | |
2020-03-24 | Pretty-print 'nix why-depends' / 'nix-store -q --tree' output | Eelco Dolstra | |
Extracted from 678301072f05b650dc15c5edb4c25f08f0d6cace. | |||
2020-03-24 | absPath(): Use std::optional | Eelco Dolstra | |
(cherry picked from commit 1bf9eb21b75f0d93d9c1633ea2e6fdf840047e79) | |||
2020-03-24 | Add function for quoting strings | Eelco Dolstra | |
(cherry picked from commit 7dcf5b011a0942ecf953f2b607c4c8d0e9e652c7) | |||
2020-02-01 | Factor out TreeInfo | Eelco Dolstra | |
2020-02-01 | Show "warning:" in yellow instead of red | Eelco Dolstra | |
2020-01-31 | Change lock file format to use an attribute representation of flake refs ↵ | Eelco Dolstra | |
rather than URLs | |||
2020-01-31 | Use light box drawing symbols | Eelco Dolstra | |
2020-01-31 | nix flake list-inputs: Pretty-print the tree | Eelco Dolstra | |
2020-01-21 | Pluggable fetchers | Eelco Dolstra | |
Flakes are now fetched using an extensible mechanism. Also lots of other flake cleanups. | |||
2020-01-21 | absPath(): Use std::optional | Eelco Dolstra | |
2019-12-18 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-16 | nix-store -r: Handle symlinks to store paths | Eelco Dolstra | |
Fixes #3270. | |||
2019-12-11 | Merge remote-tracking branch 'origin/master' into flakes | 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-12-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-05 | Eliminate more pass-by-value in variadic calls | Eelco Dolstra | |