aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-13Fix assertion failure in canonicalisePathMetaData() after hash rewritingEelco Dolstra
The assertion in canonicalisePathMetaData() failed because the ownership of the path already changed due to the hash rewriting. The solution is not to check the ownership of rewritten paths. Issue #122.
2013-06-13computeFSClosure: Only process the missing/corrupt pathsEelco Dolstra
Issue #122.
2013-06-13TypoEelco Dolstra
2013-06-13In repair mode, update the hash of rebuilt pathsEelco Dolstra
Otherwise subsequent invocations of "--repair" will keep rebuilding the path. This only happens if the path content differs between builds (e.g. due to timestamps).
2013-06-12nix-daemon: Trust options like binary-caches when the client is rootEelco Dolstra
Fixes #127.
2013-06-07download-from-binary-cache.pl: Respect $NIX_CONNECT_TIMEOUTEelco Dolstra
2013-06-07Replace $NIX_DEBUG_SUBST with an option ‘debug-subst’Eelco Dolstra
Thus passing ‘--option debug-subst 1’ allows daemon users to turn on debug info and see what the substituter is doing.
2013-06-07download-from-binary-cache.pl: Show if we're waiting for a URLEelco Dolstra
Previously, if a binary cache is hanging/unreachable/slow, download-from-binary-cache.pl would also hang without any indication to the user. Now, if fetching a URL takes more than 5 seconds, it will print a message to that effect.
2013-06-07Remove obsolete EOF checksEelco Dolstra
2013-06-07Process stderr from substituters while doing have/info queriesEelco Dolstra
2013-06-07Buffer reads from the substituterEelco Dolstra
This greatly reduces the number of system calls.
2013-06-05download-from-binary-cache.pl: Fix race conditionEelco Dolstra
Fixes the error "DBD::SQLite::db do failed: column url is not unique".
2013-06-05Update the default binary cache URL to cache.nixos.orgEelco Dolstra
2013-06-04download-from-binary-cache.pl: Treat a 403 error as a 404Eelco Dolstra
Amazon S3 returns HTTP status code 403 if a file doesn't exist and the user has no permission to list the contents of the bucket. So treat it as 404 (meaning it's cached in the NARExistence table).
2013-05-29build-remote.pl: Remove meaningless signing when importing the output pathsEelco Dolstra
The "$UID != 0" makes no sense: if the local side has write access to the Nix store (which is always the case) then it doesn't matter if we're root - we can import unsigned paths either way.
2013-05-29.bashrc -> .profileEelco Dolstra
2013-05-23nix-store --export: Export paths in topologically sorted orderEelco Dolstra
Fixes #118.
2013-05-23build-remote.pl: Copy all outputs in one operationEelco Dolstra
2013-05-23build-remote.pl: Indicate if remote machine is refusing buildsEelco Dolstra
Fixes #120.
2013-05-16Show function names in error messagesEelco Dolstra
Functions in Nix are anonymous, but if they're assigned to a variable/attribute, we can use the variable/attribute name in error messages, e.g. while evaluating `concatMapStrings' at `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/lib/strings.nix:18:25': ...
2013-05-16Show which function argument was unexpectedEelco Dolstra
Fixes #116.
2013-05-16Shut up a compiler warningEelco Dolstra
2013-05-15download-from-binary-cache.pl: Get rid of an uninitialized value warningEelco Dolstra
Reported by Pablo Costa.
2013-05-13Bump versionEelco Dolstra
2013-05-13Bump release dateEelco Dolstra
2013-05-10build-remote.pl: Properly close the SSH connection between attemptsEelco Dolstra
2013-05-10build-remote.pl: Pass /dev/null as SSH's stdinEelco Dolstra
Otherwise it will set the parent's stdin to non-blocking mode, causing the subsequent read of the set of inputs/outputs to fail randomly. That's insane.
2013-05-10build-remote.pl: Allow a machine to refuse a buildEelco Dolstra
Before selecting a machine, build-remote.pl will try to run the command "nix-builds-inhibited" on the machine. If this command exists and returns a 0 exit code, then the machine won't be used. It's up to the user to provide this command, but it would typically be a script that checks whether there is enough disk space and whether the load is not too high.
2013-05-10In trace messages, don't print the output pathEelco Dolstra
This doesn't work if there is no output named "out". Hydra didn't use it anyway.
2013-05-09Communicate build timeouts to HydraEelco Dolstra
2013-05-09build-remote.pl: Create one process fewer on the remote sideEelco Dolstra
2013-05-09build-remote.pl: Enforce timeouts locallyEelco Dolstra
Don't pass --timeout / --max-silent-time to the remote builder. Instead, let the local Nix process terminate the build if it exceeds a timeout. The remote builder will be killed as a side-effect. This gives better error reporting (since the timeout message from the remote side wasn't properly propagated) and handles non-Nix problems like SSH hangs.
2013-05-08Build Fedora 18 RPMsEelco Dolstra
2013-05-07Update release dateEelco Dolstra
2013-05-07Add option ‘extra-binary-caches’Eelco Dolstra
This allows providing additional binary caches, useful in scripts like Hydra's build reproduction scripts, in particular because untrusted caches are ignored.
2013-05-07Build Debian 7.0 debsEelco Dolstra
2013-05-03Build Ubuntu 13.04 debsEelco Dolstra
2013-05-03Update release notesEelco Dolstra
2013-05-03nix-copy-closure: Show a proper error message if no host name is givenEelco Dolstra
2013-05-03Fixing the pv position regarding compressionLluís Batlle i Rossell
Problem noticed by niksnut.
2013-05-03Fixing the pv reference; I didn't mean to change itLluís Batlle i Rossell
2013-05-03Adding ETA support to the --show-progress in nix-copy-closureLluís Batlle i Rossell
Based on https://github.com/NixOS/nix/pull/6 from shlevy
2013-05-01Nix 1.5.2 release notesEelco Dolstra
2013-05-01Don't let stderr writes in substituters cause a deadlockEelco Dolstra
2013-04-26find-runtime-roots.pl: Don't hardcode /nix/storeEelco Dolstra
2013-04-26addAdditionalRoots(): Check each path only onceEelco Dolstra
2013-04-26find-runtime-roots.pl: Search process environments for rootsEelco Dolstra
For instance, this prevents paths from being deleted that are in use by a "nix-build --run-env" session.
2013-04-26find-runtime-roots.pl: Use Nix::Utils::readFileEelco Dolstra
2013-04-23Fix --timeoutEelco Dolstra
I'm not sure if it has ever worked correctly. The line "lastWait = after;" seems to mean that the timer was reset every time a build produced log output. Note that the timeout is now per build, as documented ("the maximum number of seconds that a builder can run").
2013-04-23Show that --timeout doesn't work if the build produces log outputEelco Dolstra