Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-17 | Bump version | Eelco Dolstra | 1 | -1/+1 | |
2013-06-17 | Update release notes for Nix 1.5.3 | Eelco Dolstra | 1 | -0/+48 | |
2013-06-13 | Allow hard links between the outputs of a derivation | Eelco Dolstra | 3 | -9/+20 | |
2013-06-13 | Fix a security bug in hash rewriting | Eelco Dolstra | 1 | -0/+6 | |
Before calling dumpPath(), we have to make sure the files are owned by the build user. Otherwise, the build could contain a hard link to (say) /etc/shadow, which would then be read by the daemon and rewritten as a world-readable file. This only affects systems that don't have hard link restrictions enabled. | |||||
2013-06-13 | Fix assertion failure in canonicalisePathMetaData() after hash rewriting | Eelco Dolstra | 1 | -2/+9 | |
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-13 | computeFSClosure: Only process the missing/corrupt paths | Eelco Dolstra | 1 | -11/+17 | |
Issue #122. | |||||
2013-06-13 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2013-06-13 | In repair mode, update the hash of rebuilt paths | Eelco Dolstra | 2 | -4/+5 | |
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-12 | nix-daemon: Trust options like binary-caches when the client is root | Eelco Dolstra | 1 | -5/+7 | |
Fixes #127. | |||||
2013-06-07 | download-from-binary-cache.pl: Respect $NIX_CONNECT_TIMEOUT | Eelco Dolstra | 1 | -0/+1 | |
2013-06-07 | Replace $NIX_DEBUG_SUBST with an option ‘debug-subst’ | Eelco Dolstra | 1 | -1/+1 | |
Thus passing ‘--option debug-subst 1’ allows daemon users to turn on debug info and see what the substituter is doing. | |||||
2013-06-07 | download-from-binary-cache.pl: Show if we're waiting for a URL | Eelco Dolstra | 1 | -3/+15 | |
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-07 | Remove obsolete EOF checks | Eelco Dolstra | 1 | -26/+18 | |
2013-06-07 | Process stderr from substituters while doing have/info queries | Eelco Dolstra | 4 | -9/+59 | |
2013-06-07 | Buffer reads from the substituter | Eelco Dolstra | 2 | -10/+27 | |
This greatly reduces the number of system calls. | |||||
2013-06-05 | download-from-binary-cache.pl: Fix race condition | Eelco Dolstra | 1 | -3/+4 | |
Fixes the error "DBD::SQLite::db do failed: column url is not unique". | |||||
2013-06-05 | Update the default binary cache URL to cache.nixos.org | Eelco Dolstra | 4 | -9/+9 | |
2013-06-04 | download-from-binary-cache.pl: Treat a 403 error as a 404 | Eelco Dolstra | 1 | -2/+2 | |
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-29 | build-remote.pl: Remove meaningless signing when importing the output paths | Eelco Dolstra | 1 | -3/+1 | |
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 -> .profile | Eelco Dolstra | 2 | -2/+2 | |
2013-05-23 | nix-store --export: Export paths in topologically sorted order | Eelco Dolstra | 2 | -2/+4 | |
Fixes #118. | |||||
2013-05-23 | build-remote.pl: Copy all outputs in one operation | Eelco Dolstra | 1 | -5/+5 | |
2013-05-23 | build-remote.pl: Indicate if remote machine is refusing builds | Eelco Dolstra | 1 | -2/+3 | |
Fixes #120. | |||||
2013-05-16 | Show function names in error messages | Eelco Dolstra | 5 | -8/+43 | |
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-16 | Show which function argument was unexpected | Eelco Dolstra | 1 | -5/+9 | |
Fixes #116. | |||||
2013-05-16 | Shut up a compiler warning | Eelco Dolstra | 1 | -1/+1 | |
2013-05-15 | download-from-binary-cache.pl: Get rid of an uninitialized value warning | Eelco Dolstra | 1 | -1/+1 | |
Reported by Pablo Costa. | |||||
2013-05-13 | Bump version | Eelco Dolstra | 1 | -1/+1 | |
2013-05-13 | Bump release date | Eelco Dolstra | 1 | -1/+1 | |
2013-05-10 | build-remote.pl: Properly close the SSH connection between attempts | Eelco Dolstra | 2 | -3/+5 | |
2013-05-10 | build-remote.pl: Pass /dev/null as SSH's stdin | Eelco Dolstra | 1 | -1/+1 | |
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-10 | build-remote.pl: Allow a machine to refuse a build | Eelco Dolstra | 1 | -1/+3 | |
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-10 | In trace messages, don't print the output path | Eelco Dolstra | 1 | -19/+15 | |
This doesn't work if there is no output named "out". Hydra didn't use it anyway. | |||||
2013-05-09 | Communicate build timeouts to Hydra | Eelco Dolstra | 1 | -7/+11 | |
2013-05-09 | build-remote.pl: Create one process fewer on the remote side | Eelco Dolstra | 1 | -1/+1 | |
2013-05-09 | build-remote.pl: Enforce timeouts locally | Eelco Dolstra | 2 | -6/+3 | |
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-08 | Build Fedora 18 RPMs | Eelco Dolstra | 1 | -2/+2 | |
2013-05-07 | Update release date | Eelco Dolstra | 1 | -1/+1 | |
2013-05-07 | Add option ‘extra-binary-caches’ | Eelco Dolstra | 2 | -3/+24 | |
This allows providing additional binary caches, useful in scripts like Hydra's build reproduction scripts, in particular because untrusted caches are ignored. | |||||
2013-05-07 | Build Debian 7.0 debs | Eelco Dolstra | 1 | -0/+2 | |
2013-05-03 | Build Ubuntu 13.04 debs | Eelco Dolstra | 1 | -0/+2 | |
2013-05-03 | Update release notes | Eelco Dolstra | 1 | -2/+3 | |
2013-05-03 | nix-copy-closure: Show a proper error message if no host name is given | Eelco Dolstra | 1 | -0/+2 | |
2013-05-03 | Fixing the pv position regarding compression | Lluís Batlle i Rossell | 2 | -2/+2 | |
Problem noticed by niksnut. | |||||
2013-05-03 | Fixing the pv reference; I didn't mean to change it | Lluís Batlle i Rossell | 1 | -1/+1 | |
2013-05-03 | Adding ETA support to the --show-progress in nix-copy-closure | Lluís Batlle i Rossell | 2 | -6/+16 | |
Based on https://github.com/NixOS/nix/pull/6 from shlevy | |||||
2013-05-01 | Nix 1.5.2 release notes | Eelco Dolstra | 1 | -0/+9 | |
2013-05-01 | Don't let stderr writes in substituters cause a deadlock | Eelco Dolstra | 1 | -0/+4 | |
2013-04-26 | find-runtime-roots.pl: Don't hardcode /nix/store | Eelco Dolstra | 1 | -1/+2 | |
2013-04-26 | addAdditionalRoots(): Check each path only once | Eelco Dolstra | 1 | -2/+2 | |