about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24 More progress indicator improvementsEelco Dolstra3-14/+14
In particular, don't show superfluous "fetching path" and "building path(s)" messages, and show the current round (with --repeat).
2017-10-24 More progress indicator improvementsEelco Dolstra5-13/+27
Fixes #1599.
2017-10-24 Progress indicator: Show on what machine we're buildingEelco Dolstra3-4/+11
E.g. $ nix build nixpkgs.hello --builders 'root@wendy' [1/0/1 built] building hello-2.10 on ssh://root@wendy: checking for minix/config.h... no
2017-10-24 build-remote: Work properly on a chrooted storeEelco Dolstra1-1/+1
2017-10-24 Handle log messages from build-remoteEelco Dolstra4-124/+175
This makes the progress indicator show statuses like "connecting to 'root@machine'".
2017-10-24 nix: Respect -I, --arg, --argstrEelco Dolstra26-304/+354
Also, random cleanup to argument handling.
2017-10-24 Remove the remote-builds optionEelco Dolstra5-10/+8
This is superfluous since you can now just set "builders" to empty, e.g. "--builders ''".
2017-10-24 Remove the builder-files optionEelco Dolstra3-16/+21
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.
2017-10-23 NIX_BUILD_HOOK variable is goneEelco Dolstra1-1/+0
2017-10-23 Pass all settings to build-remoteEelco Dolstra7-82/+75
This ensures that command line flags such as --builders get passed correctly.
2017-10-23 Turn $NIX_REMOTE into a configuration optionEelco Dolstra4-7/+8
2017-10-23 Release note updatesEelco Dolstra1-36/+48
2017-10-23 build-remote: Put current load under the store state directoryEelco Dolstra1-2/+3
Fixes the error error: opening lock file '/nix/var/nix/current-load/main-lock': Permission denied when using a chroot store.
2017-10-20 Merge pull request #1616 from copumpkin/separate-darwin-sandboxEelco Dolstra2-13/+11
Shift Darwin sandbox to separate installed files
2017-10-20 Merge pull request #1622 from kini/c++14-prerequisiteEelco Dolstra1-2/+2
Mention C++14 dependency in the manual.
2017-10-19 Mention C++14 dependency in the manual.Keshav Kini1-2/+2
A couple makefiles in the sources have -std=c++14 in the CFLAGS.
2017-10-19 nix-shell: Fix file name resolution in shebangsShea Levy1-1/+1
2017-10-19 Revert "Let's not populate the NAR cache from hydra-queue-runner for now"Eelco Dolstra1-2/+2
This reverts commit 908590dc6cfcca3a98755b194d93b2da39aee95c. Since hydra-server can have a different store URI from hydra-queue-runner now, we don't really need this.
2017-10-18 Let's not populate the NAR cache from hydra-queue-runner for nowEelco Dolstra1-2/+2
2017-10-18 Errors writing to the NAR cache should not be fatalEelco Dolstra1-1/+5
2017-10-18 Suppress "copying 0 paths" messageEelco Dolstra1-0/+2
2017-10-17 Shift Darwin sandbox to separate installed filesDan Peebles2-13/+11
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++! 😀
2017-10-17 BinaryCacheStore::addToStore(): Add NARs to the local cacheEelco Dolstra3-10/+26
2017-10-17 BinaryCacheStore: Support local caching of NARsEelco Dolstra4-5/+25
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.
2017-10-17 Remove BinaryCacheStoreAccessorEelco Dolstra2-61/+4
Probably as a result of a bad merge in 4b8f1b0ec066a5b994747b1afd050f5f62d857f6, 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.
2017-10-17 fetchgit: Remove incomplete/unneeded ref check.Shea Levy1-5/+0
This check fails for tags and branches, and is made redundant by the checks git itself will do when fetching the repo.
2017-10-16 Merge branch 'nix-profile-daemon'Shea Levy2-0/+55
2017-10-16 Merge pull request #1601 from shlevy/fetchgit-no-uri-checkEelco Dolstra1-4/+1
fetchgit: Remove incomplete/unneeded isURI check.
2017-10-16 Pull nix-profile-daemon from 1.11Shea Levy2-0/+55
2017-10-16 fetchgit: Remove incomplete/unneeded isURI check.Shea Levy1-4/+1
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.
2017-10-12 Add option to disable the seccomp filterEelco Dolstra2-0/+8
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.
2017-10-12 Merge pull request #1571 from teto/improve_priority_msgEelco Dolstra1-3/+4
Improve error message for conflicting priorities
2017-10-12 Merge pull request #1591 from shlevy/darwin-installer-no-sudo-iEelco Dolstra1-3/+3
darwin installer: Fix on systems where sudo -i is disabled.
2017-10-12 Merge pull request #1586 from acowley/patch-2Eelco Dolstra1-1/+1
install-darwin-multi-user: relax assumption check
2017-10-12 Merge pull request #1580 from copumpkin/retry-after-timeoutEelco Dolstra2-20/+41
Retry in all error cases but a few
2017-10-12 Merge pull request #1595 from peti/masterEelco Dolstra1-8/+8
docker: ensure that the installation works for users other than 'root'
2017-10-09 Fix a hang in ThreadPoolEelco Dolstra2-33/+57
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.
2017-10-09 WhitespaceEelco Dolstra1-2/+2
2017-10-09 Merge pull request #1594 from dtzWill/fix/busybox-builtinsEelco Dolstra1-2/+2
release-common: Fix busybox builtins (busybox >= 1.27)
2017-10-07 docker: ensure that the installation works for users other than 'root', tooPeter Simons1-8/+8
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.
2017-10-07 release-common: Fix busybox builtins (busybox >= 1.27)Will Dietz1-2/+2
See https://github.com/NixOS/nixpkgs/pull/28261
2017-10-06 Merge pull request #1593 from Mic92/bashismEelco Dolstra2-5/+4
fixing bashisms in test code
2017-10-06 fixing bashisms in test codeJörg Thalheim2-5/+4
This fixed the build on ubuntu/debian, where dash is the sh.
2017-10-05 darwin installer: Fix on systems where sudo -i is disabled.Shea Levy1-3/+3
2017-10-03 Merge branch 'elegant-tests' of https://github.com/copumpkin/nixEelco Dolstra1-6/+24
2017-10-03 Merge pull request #1587 from copumpkin/fix-testsEelco Dolstra3-4/+4
Fix tests
2017-10-03 More elegant test outputDan Peebles1-6/+24
I got sick of trying to find the failures in the sea of debug output, so we now: - Hide test output unless it fails - Sprinkle in some simple color - Pad results for a more tabular look If Nix is getting a more friendly user interface, we might as well get a friendlier developer interface, right? :)
2017-10-02 Fix testsDan Peebles3-4/+4
`nix copy` no longer accepts a `--recursive` argument
2017-10-02 Reverse retry logic to retry in all but a few casesDan Peebles2-20/+41
It was getting too much like whac-a-mole listing all the retriable error conditions, so we now retry by default and list the cases where retrying is almost certainly hopeless.
2017-10-02 install-darwin-multi-user: relax assumption checkAnthony Cowley1-1/+1
The installer will error out if a user's shell configuration includes any mention of ~nix-profile~, even if this is in a comment. This change is designed to do the bare minimum to ignore lines beginning with a `#`.