- Oct 24, 2017
-
-
Eelco Dolstra authored
Also, random cleanup to argument handling.
-
Eelco Dolstra authored
This is superfluous since you can now just set "builders" to empty, e.g. "--builders ''".
-
Eelco Dolstra authored
You can now include files via the "builders" option, using the syntax "@<filename>". Having only one option makes it easier to override builders completely. For backward compatibility, the default is "@/etc/nix/machines", or "@<filename>" for each file name in NIX_REMOTE_SYSTEMS.
-
- Oct 23, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This ensures that command line flags such as --builders get passed correctly.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Fixes the error error: opening lock file '/nix/var/nix/current-load/main-lock': Permission denied when using a chroot store.
-
- Oct 20, 2017
-
-
Eelco Dolstra authored
Shift Darwin sandbox to separate installed files
-
Eelco Dolstra authored
Mention C++14 dependency in the manual.
-
Keshav Kini authored
A couple makefiles in the sources have -std=c++14 in the CFLAGS.
-
- Oct 19, 2017
-
-
Shea Levy authored
-
Eelco Dolstra authored
This reverts commit 908590dc. Since hydra-server can have a different store URI from hydra-queue-runner now, we don't really need this.
-
- Oct 18, 2017
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 17, 2017
-
-
Dan Peebles authored
This makes it slightly more manageable to see at a glance what in a build's sandbox profile is unique to the build and what is standard. Also a first step to factoring more of our Darwin logic into scheme functions that will allow us a bit more flexibility. And of course less of that nasty codegen in C++!
😀 -
Eelco Dolstra authored
-
Eelco Dolstra authored
This speeds up commands like "nix cat-store". For example: $ time nix cat-store --store https://cache.nixos.org?local-nar-cache=/tmp/nar-cache /nix/store/i60yncmq6w9dyv37zd2k454g0fkl3arl-systemd-234/etc/udev/udev.conf real 0m4.336s $ time nix cat-store --store https://cache.nixos.org?local-nar-cache=/tmp/nar-cache /nix/store/i60yncmq6w9dyv37zd2k454g0fkl3arl-systemd-234/etc/udev/udev.conf real 0m0.045s The primary motivation is to allow hydra-server to serve files from S3 binary caches. Previously Hydra had a hack to do "nix-store -r <path>", but that fetches the entire closure so is prohibitively expensive. There is no garbage collection of the NAR cache yet. Also, the entire NAR is read when accessing a single member file. We could generate the NAR listing to provide random access. Note: the NAR cache is indexed by the store path hash, not the content hash, so NAR caches should not be shared between binary caches, unless you're sure that all your builds are binary-reproducible.
-
Eelco Dolstra authored
Probably as a result of a bad merge in 4b8f1b0e, we had both a BinaryCacheStoreAccessor and a RemoteFSAccessor. BinaryCacheStore::getFSAccessor() returned the latter, but BinaryCacheStore::addToStore() checked for the former. This probably caused hydra-queue-runner to download paths that it just uploaded.
-
Shea Levy authored
This check fails for tags and branches, and is made redundant by the checks git itself will do when fetching the repo.
-
- Oct 16, 2017
-
-
Shea Levy authored
-
Eelco Dolstra authored
fetchgit: Remove incomplete/unneeded isURI check.
-
Shea Levy authored
-
Shea Levy authored
This check spuriously fails for e.g. git@github.com:NixOS/nixpkgs.git, and even for ssh://git@github.com/NixOS/nixpkgs.git, and is made redundant by the checks git itself will do when fetching the repo. We instead pass a -- before passing the URI to git to avoid injection.
-
- Oct 12, 2017
-
-
Eelco Dolstra authored
I needed this to test ACL/xattr removal in canonicalisePathMetaData(). Might also be useful if you need to build old Nixpkgs that doesn't have the required patches to remove setuid/setgid creation.
-
Eelco Dolstra authored
Improve error message for conflicting priorities
-
Eelco Dolstra authored
darwin installer: Fix on systems where sudo -i is disabled.
-
Eelco Dolstra authored
install-darwin-multi-user: relax assumption check
-
Eelco Dolstra authored
Retry in all error cases but a few
-
Eelco Dolstra authored
docker: ensure that the installation works for users other than 'root'
-
- Oct 09, 2017
-
-
Eelco Dolstra authored
The worker threads could exit prematurely if they finished processing all items while the main thread was still adding items. In particular, this caused hanging nix-store --serve processes in the build farm. Also, process items from the main thread.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
release-common: Fix busybox builtins (busybox >= 1.27)
-
- Oct 07, 2017
-
-
Peter Simons authored
The path /root/.nix-profile is a sym-link to /nix/var/nix/profiles/default. The latter path, however, works for everyone while the former path works only for root, so we prefer the public path whenever possible.
-
Will Dietz authored
See https://github.com/NixOS/nixpkgs/pull/28261
-
- Oct 06, 2017
-
-
Eelco Dolstra authored
fixing bashisms in test code
-
Jörg Thalheim authored
This fixed the build on ubuntu/debian, where dash is the sh.
-
- Oct 05, 2017
-
-
Shea Levy authored
-
- Oct 03, 2017
-