Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-20 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-19 | tarfile.cc: Restore timestamps | Eelco Dolstra | |
This is needed to get the lastModified attribute of GitHub flakes. | |||
2019-12-19 | tarfile.cc: Don't change the cwd | Eelco Dolstra | |
Nix is multithreaded so it's not safe to change the cwd. | |||
2019-12-19 | tarfile.cc: Style fixes | Eelco Dolstra | |
2019-12-19 | Merge branch 'libarchive' of https://github.com/yorickvP/nix | Eelco Dolstra | |
2019-12-18 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-17 | Add priority setting to stores | Eelco Dolstra | |
This allows overriding the priority of substituters, e.g. $ nix-store --store ~/my-nix/ -r /nix/store/df3m4da96d84ljzxx4mygfshm1p0r2n3-geeqie-1.4 \ --substituters 'http://cache.nixos.org?priority=100 daemon?priority=10' Fixes #3264. | |||
2019-12-16 | 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-13 | Move some code | Eelco Dolstra | |
2019-12-13 | Don't leak exceptions | Eelco Dolstra | |
2019-12-13 | Improve gzip error message | Eelco Dolstra | |
2019-12-13 | Get rid of CBox | Eelco Dolstra | |
2019-12-13 | Remove FIXME | Eelco Dolstra | |
2019-12-13 | Initial gzip support | Tom Bereknyei | |
Closes #3256 | |||
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-09 | further clean up libarchive code | Yorick van Pelt | |
2019-12-07 | Clean up libarchive support | Puck Meerburg | |
2019-12-07 | remove rust unpack_tarfile ffi | Yorick van Pelt | |
2019-12-07 | code 'cleanup' | Yorick van Pelt | |
2019-12-07 | add wrapper function around libarchive to c++ errors | Yorick van Pelt | |
2019-12-07 | fixup! libarchive proof of concept | Yorick van Pelt | |
2019-12-07 | libarchive proof of concept | Yorick van Pelt | |
2019-12-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-05 | Initialize Command::_name | Eelco Dolstra | |
(cherry picked from commit d0a769cb061a13ad880c76e5ea69a76150439853) | |||
2019-12-05 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
(cherry picked from commit a0de58f471c9087d8e6cc60a6078f9940a125b15) | |||
2019-12-05 | Move Command and MultiCommand to libutil | Eelco Dolstra | |
(cherry picked from commit f70434b1fbbdb0e188718f0c55a8156a7aa08744) | |||
2019-12-05 | Eliminate more pass-by-value in variadic calls | Eelco Dolstra | |
2019-12-05 | Revert "Make fmt() non-recursive" | Eelco Dolstra | |
This reverts commit 2b761d5f50b7dc17dc55c31980c2253c37b3c920. Also *really* make fmt() take arguments by reference. | |||
2019-12-05 | fmt(): Pass arguments by reference rather than by value | Eelco Dolstra | |
2019-12-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-27 | Fix segfault on i686-linux | Eelco Dolstra | |
https://hydra.nixos.org/build/107467517 Seems that on i686-linux, gcc and rustc disagree on how to return 1-word structs: gcc has the caller pass a pointer to the result, while rustc has the callee return the result in a register. Work around this by using a bare pointer. | |||
2019-11-26 | Drop remaining uses of external "tar" | Eelco Dolstra | |
Also, fetchGit now runs in O(1) memory since we pipe the output of 'git archive' directly into unpackTarball() (rather than first reading it all into memory). | |||
2019-11-26 | Move code around | Eelco Dolstra | |
2019-11-26 | Move code around | Eelco Dolstra | |
2019-11-22 | getEnv(): Return std::optional | Eelco Dolstra | |
This allows distinguishing between an empty value and no value. | |||
2019-11-11 | Merge pull request #3219 from Ericson2314/semicolons | Eelco Dolstra | |
Fix extra semicolons warnings | |||
2019-11-10 | Remove unneeded semicolons | John Ericson | |
2019-11-10 | Fix extra ; warnings involving MakeError | John Ericson | |
2019-11-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-08 | Move editorFor srom libutil to nix | Eelco Dolstra | |
libutil should not depend on libexpr. | |||
2019-11-07 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-06 | Cleanup | Eelco Dolstra | |
2019-11-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-05 | Merge branch 'nix-repl-e' of https://github.com/zimbatm/nix | Eelco Dolstra | |
2019-11-05 | Don't use SOCK_CLOEXEC on macOS | Eelco Dolstra | |
https://hydra.nixos.org/build/105428308 | |||
2019-11-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |