Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-02 | Merge pull request #5082 from manveru/fix-git-init-race | Eelco Dolstra | |
fix git init race condition | |||
2021-08-02 | fix git init race condition | Michael Fellinger | |
2021-08-01 | Merge pull request #5077 from ldesgoui/nix-shell-args | Eelco Dolstra | |
nix-shell -p: pass `--arg`s as nixpkgs parameters | |||
2021-07-31 | nix-shell -p: pass --arg values as nixpkgs params | ldesgoui | |
2021-07-30 | Merge pull request #5072 from NixOS/ca/queryRealisation-perl | Eelco Dolstra | |
Expose a perl method to query a derivation | |||
2021-07-30 | Expose a perl method to query a derivation | regnat | |
Just doing a very stupid thing taking as argument a serialised drv output and returning a serialised realisation. This is needed for `nix-serve` to handle ca derivations | |||
2021-07-28 | upload-release.pl: Fix deprecated 'nix' calls | Eelco Dolstra | |
2021-07-28 | Merge remote-tracking branch 'origin/test-daemon-everywhere' | Eelco Dolstra | |
2021-07-28 | Merge pull request #5042 from alyssais/pthread | Eelco Dolstra | |
Enable pthreads for new libraries | |||
2021-07-28 | Merge pull request #5057 from edolstra/nix-develop-chroot | Eelco Dolstra | |
nix develop: Support chroot stores | |||
2021-07-27 | Remove the right socket before starting the daemon | regnat | |
For some reason, an old socket occasionally stays here on OSX, causing the subsequent tests to fail | |||
2021-07-27 | Allow running all the tests with the daemon | regnat | |
When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon. That way we can test every piece of Nix functionality both with and without the daemon. Tests for which using the daemon isn’t possible or doesn’t make sens can selectively be disabled with `needLocalStore` | |||
2021-07-27 | Merge pull request #5055 from NixOS/fix-manpages-install | Eelco Dolstra | |
Fix the generation of nix3 manpages | |||
2021-07-27 | Remove dead code in doc’s local.mk | regnat | |
2021-07-27 | nix develop: Support chroot stores | Eelco Dolstra | |
Fixes #5024. | |||
2021-07-27 | Fix the generation of nix3 manpages | regnat | |
- Separate the generation of the manpages from their installation - Make sure that `make` generates the manpages - Make sure that `make install` installs them Fix #5051 | |||
2021-07-27 | Merge pull request #5048 from tweag/flox-eval-store | Eelco Dolstra | |
--eval-store and faster closure copying | |||
2021-07-27 | Add --eval-store test | Eelco Dolstra | |
2021-07-27 | nix-instantiate: Fix --eval-store | Eelco Dolstra | |
2021-07-27 | Merge pull request #5046 from ncfavier/patch-1 | Eelco Dolstra | |
Fix --no-gc-warning | |||
2021-07-27 | Merge pull request #5043 from alyssais/vexing | Eelco Dolstra | |
libutil: use uniform initialization in _deletePath | |||
2021-07-27 | Merge pull request #5049 from Pamplemousse/less_globals | Eelco Dolstra | |
libexpr: Remove unused code | |||
2021-07-26 | libexpr: Remove unused code | Pamplemousse | |
Signed-off-by: Pamplemousse <xav.maso@gmail.com> | |||
2021-07-26 | Merge pull request #5037 from Pamplemousse/less_globals | Eelco Dolstra | |
Avoid global counters | |||
2021-07-26 | Revert no longer necessary change | Eelco Dolstra | |
2021-07-26 | Low-latency closure copy | Eelco Dolstra | |
This adds a new store operation 'addMultipleToStore' that reads a number of NARs and ValidPathInfos from a Source, allowing any number of store paths to be copied in a single call. This is much faster on high-latency links when copying a lot of small files, like .drv closures. For example, on a connection with an 50 ms delay: Before: $ nix copy --to 'unix:///tmp/proxy-socket?root=/tmp/dest-chroot' \ /nix/store/90jjw94xiyg5drj70whm9yll6xjj0ca9-hello-2.10.drv \ --derivation --no-check-sigs real 0m57.868s user 0m0.103s sys 0m0.056s After: real 0m0.690s user 0m0.017s sys 0m0.011s | |||
2021-07-25 | Fix --no-gc-warning | Naïm Favier | |
Broken by 8e758d402ba1045c7b8273f8cb1d6d8d917ca52b | |||
2021-07-24 | libutil: use uniform initialization in _deletePath | Alyssa Ross | |
Otherwise I get a compiler error when building for NetBSD: src/libutil/util.cc: In function 'void nix::_deletePath(const Path&, uint64_t&)': src/libutil/util.cc:438:17: error: base operand of '->' is not a pointer 438 | AutoCloseFD dirfd(open(dir.c_str(), O_RDONLY)); | ^~~~~ src/libutil/util.cc:439:10: error: 'dirfd' was not declared in this scope 439 | if (!dirfd) { | ^~~~~ src/libutil/util.cc:444:17: error: 'dirfd' was not declared in this scope 444 | _deletePath(dirfd.get(), path, bytesFreed); | ^~~~~ | |||
2021-07-24 | Enable pthreads for new libraries | Alyssa Ross | |
Otherwise the lack of pthread causes linking to fail for NetBSD. | |||
2021-07-23 | Merge pull request #5040 from SuperSandro2000/patch-1 | Domen Kožar | |
installer: fix --no-modify-profile help text | |||
2021-07-23 | Merge pull request #5041 from SuperSandro2000/patch-2 | Domen Kožar | |
installer: update global nix.conf location | |||
2021-07-23 | installer: update global nix.conf location | Sandro | |
2021-07-23 | installer: fix --no-modify-profile help text | Sandro | |
2021-07-22 | RemoteStore::buildPaths(): Handle evalStore | Eelco Dolstra | |
2021-07-22 | Remove redundant RealisedPath::closure() call | Eelco Dolstra | |
2021-07-22 | Fix formatting error in 'nix store' manpage | Eelco Dolstra | |
2021-07-22 | buildPaths(): Add an evalStore argument | Eelco Dolstra | |
With this, we don't have to copy the entire .drv closure to the destination store ahead of time (or at all). Instead, buildPaths() reads .drv files from the eval store and copies inputSrcs to the destination store if it needs to build a derivation. Issue #5025. | |||
2021-07-22 | copyPaths: Pass store by reference | Eelco Dolstra | |
2021-07-22 | Use eval-store in more places | Eelco Dolstra | |
In particular, this now works: $ nix path-info --eval-store auto --store https://cache.nixos.org nixpkgs#hello Previously this would fail as it would try to upload the hello .drv to cache.nixos.org. Now the .drv is instantiated in the local store, and then we check for the existence of the outputs in cache.nixos.org. | |||
2021-07-22 | DummyStore: Remove redundant method | Eelco Dolstra | |
2021-07-22 | nix-shell: Handle --eval-store correctly | Eelco Dolstra | |
2021-07-22 | nix-build: Copy drv closure between eval store and build store | Eelco Dolstra | |
2021-07-22 | Support --eval-store in nix-instantiate and nix-build | Eelco Dolstra | |
2021-07-22 | Hacky fast closure copying mechanism | Eelco Dolstra | |
2021-07-22 | Add --eval-store option | Eelco Dolstra | |
2021-07-22 | Downgrade warning message | Eelco Dolstra | |
If a store doesn't support GC, then we don't need to warn about the inability to create roots. | |||
2021-07-21 | Avoid global counters | Pamplemousse | |
Signed-off-by: Pamplemousse <xav.maso@gmail.com> | |||
2021-07-21 | Tweak --no/use-registries doc strings | Eelco Dolstra | |
2021-07-21 | Merge branch 'balsoft/no-registries' of https://github.com/serokell/nix | Eelco Dolstra | |
2021-07-20 | deletePath(): Return ENFILE instead of EBADF when out of file descriptors | Eelco Dolstra | |
Also remove an erroneous comment. |