- Aug 01, 2021
-
-
Eelco Dolstra authored
nix-shell -p: pass `--arg`s as nixpkgs parameters
-
- Jul 31, 2021
-
-
ldesgoui authored
-
- Jul 30, 2021
-
-
Eelco Dolstra authored
Expose a perl method to query a derivation
-
regnat authored
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
-
- Jul 28, 2021
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Enable pthreads for new libraries
-
Eelco Dolstra authored
nix develop: Support chroot stores
-
- Jul 27, 2021
-
-
regnat authored
For some reason, an old socket occasionally stays here on OSX, causing the subsequent tests to fail
-
regnat authored
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`
-
Eelco Dolstra authored
Fix the generation of nix3 manpages
-
regnat authored
-
Eelco Dolstra authored
Fixes #5024.
-
regnat authored
- 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
-
Eelco Dolstra authored
--eval-store and faster closure copying
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Fix --no-gc-warning
-
Eelco Dolstra authored
libutil: use uniform initialization in _deletePath
-
Eelco Dolstra authored
libexpr: Remove unused code
-
- Jul 26, 2021
-
-
Pamplemousse authored
Signed-off-by:
Pamplemousse <xav.maso@gmail.com>
-
Eelco Dolstra authored
Avoid global counters
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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
-
- Jul 25, 2021
-
-
Naïm Favier authored
Broken by 8e758d40
-
- Jul 24, 2021
-
-
Alyssa Ross authored
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); | ^~~~~
-
Alyssa Ross authored
Otherwise the lack of pthread causes linking to fail for NetBSD.
-
- Jul 23, 2021
-
-
Domen Kožar authored
installer: fix --no-modify-profile help text
-
Domen Kožar authored
installer: update global nix.conf location
-
Sandro authored
-
Sandro authored
-
- Jul 22, 2021
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-