Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-12-06 | Tweak error message | Eelco Dolstra | 1 | -2/+2 | |
2016-11-27 | Improve error message on trailing path slashes | Guillaume Maudoux | 1 | -4/+12 | |
2016-11-21 | nix-channel: Fix --update <CHANNELS> | Eelco Dolstra | 1 | -2/+2 | |
This unbreaks "nixos-rebuild --upgrade". | |||||
2016-11-17 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2016-11-17 | Fix binary-cache-store build | Shea Levy | 1 | -7/+8 | |
2016-11-17 | istringstream_nocopy: Implement in a standards-compliant way | Shea Levy | 1 | -4/+40 | |
Fixes #1135. | |||||
2016-11-17 | nix-daemon: Fix splice faking on non-Linux | Shea Levy | 1 | -2/+2 | |
2016-11-17 | Update darwin build for optional sandbox paths | Shea Levy | 1 | -3/+6 | |
Fixes #1132 | |||||
2016-11-16 | S3BinaryCacheStore:: Eliminate a string copy while uploading | Eelco Dolstra | 4 | -3/+17 | |
This cuts hydra-queue-runner's peak memory usage by about a third. | |||||
2016-11-14 | buildPaths(): Handle ecIncompleteClosure | Eelco Dolstra | 1 | -1/+1 | |
buildPaths() on a non-derivation would incorrectly not throw an error if the path didn't have a substitute. | |||||
2016-11-14 | Don't rely on %m | Eelco Dolstra | 1 | -1/+2 | |
2016-11-14 | daemon: Do not error out when deduplication fails due to ENOSPC. | Ludovic Courtès | 1 | -5/+19 | |
This solves a problem whereby if /gnu/store/.links had enough entries, ext4's directory index would be full, leading to link(2) returning ENOSPC. * nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Upon ENOSPC from link(2), print a message and return instead of throwing a 'SysError'. | |||||
2016-11-13 | Fix comments parsing | Guillaume Maudoux | 1 | -1/+1 | |
Fixed the parsing of multiline strings ending with an even number of stars, like /** this **/. Added test cases for comments. | |||||
2016-11-10 | Store::computeFSClosure(): Support a set of paths | Eelco Dolstra | 5 | -16/+25 | |
This way, callers can exploits the parallelism of computeFSClosure() when they have multiple paths that they need the (combined) closure of. | |||||
2016-11-09 | copyClosure() / copyStorePath(): Expose dontCheckSigs | Eelco Dolstra | 2 | -6/+6 | |
Needed by Hydra. | |||||
2016-11-09 | Merge branch 'ssh-store' of https://github.com/shlevy/nix | Eelco Dolstra | 15 | -92/+466 | |
2016-11-09 | Implement backwards-compatible RemoteStore::addToStore() | Eelco Dolstra | 2 | -2/+23 | |
The SSHStore PR adds this functionality to the daemon, but we have to handle the case where the Nix daemon is 1.11. Also, don't require signatures for trusted users. This restores 1.11 behaviour. Fixes https://github.com/NixOS/hydra/issues/398. | |||||
2016-11-08 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2016-11-07 | Add missing #include | Eelco Dolstra | 1 | -0/+2 | |
2016-10-31 | Support optional sandbox paths | Eelco Dolstra | 1 | -9/+26 | |
For example, you can now set build-sandbox-paths = /dev/nvidiactl? to specify that /dev/nvidiactl should only be mounted in the sandbox if it exists in the host filesystem. This is useful e.g. for EC2 images that should support both CUDA and non-CUDA instances. | |||||
2016-10-27 | Add nix.conf options for -k and -K | Shea Levy | 1 | -0/+2 | |
Fixes #1084 | |||||
2016-10-26 | Fix SIGFPE from integer overflow during division | Tuomas Tynkkynen | 1 | -3/+9 | |
On some architectures (like x86_64 or i686, but not ARM for example) overflow during integer division causes a crash due to SIGFPE. Reproduces on a 64-bit system with: nix-instantiate --eval -E '(-9223372036854775807 - 1) / -1' The only way this can happen is when the smallest possible integer is divided by -1, so just special-case that. | |||||
2016-10-26 | Fix build log output in nix-store --serve | Eelco Dolstra | 1 | -1/+1 | |
2016-10-26 | Restore the CachedFailure status code | Eelco Dolstra | 1 | -0/+4 | |
The removal of CachedFailure caused the value of TimedOut to change, which broke timed-out handling in Hydra (so timed-out builds would show up as "aborted" and would be retried, e.g. at http://hydra.nixos.org/build/42537427). | |||||
2016-10-21 | Remove addPathToAccessor | Eelco Dolstra | 9 | -109/+97 | |
2016-10-21 | BinaryCacheStore: Optionally write a NAR listing | Eelco Dolstra | 10 | -20/+81 | |
The store parameter "write-nar-listing=1" will cause BinaryCacheStore to write a file ‘<store-hash>.ls.xz’ for each ‘<store-hash>.narinfo’ added to the binary cache. This file contains an XZ-compressed JSON file describing the contents of the NAR, excluding the contents of regular files. E.g. { "version": 1, "root": { "type": "directory", "entries": { "lib": { "type": "directory", "entries": { "Mcrt1.o": { "type": "regular", "size": 1288 }, "Scrt1.o": { "type": "regular", "size": 3920 }, } } } ... } } (The actual file has no indentation.) This is intended to speed up the NixOS channels programs index generator [1], since fetching gazillions of large NARs from cache.nixos.org is currently a bottleneck for updating the regular (non-small) channel. [1] https://github.com/NixOS/nixos-channel-scripts/blob/master/generate-programs-index.cc | |||||
2016-10-19 | Merge branch 'priorityqueue' of https://github.com/groxxda/nix | Eelco Dolstra | 1 | -12/+17 | |
2016-10-19 | Merge branch 'regex' of https://github.com/groxxda/nix | Eelco Dolstra | 5 | -93/+16 | |
2016-10-19 | fixup! replace own regex class with std::regex | Alexander Ried | 1 | -1/+4 | |
2016-10-19 | Fix Darwin build | Eelco Dolstra | 2 | -6/+6 | |
Done slightly differently from https://github.com/NixOS/nix/pull/1093. | |||||
2016-10-19 | Shut up clang warning | Eelco Dolstra | 1 | -1/+1 | |
2016-10-19 | Fix uninitialised variable | Eelco Dolstra | 1 | -1/+1 | |
2016-10-18 | replace own regex class with std::regex | Alexander Ried | 5 | -94/+14 | |
2016-10-18 | downloader: use priority_queue | Alexander Ried | 1 | -12/+17 | |
2016-10-14 | Fix /dev/ptmx in sandboxes | Eelco Dolstra | 1 | -1/+6 | |
This was broken since ff0c0b645cc1448959126185bb2fafe41cf0bddf. Since I can't figure out how to mount a devpts instance in the sandbox, let's just bind-mount the host devpts. | |||||
2016-10-14 | CURL_AT_LEAST_VERSION -> LIBCURL_VERSION_NUM | Eelco Dolstra | 1 | -4/+3 | |
http://hydra.nixos.org/build/42025230 | |||||
2016-10-13 | Fix HTTP/2 support | Eelco Dolstra | 1 | -3/+3 | |
Commit 86e8c67efc33cf756500a1dec7fd6313658f2664 broke it, because CURL_* are not actually #defines. | |||||
2016-10-13 | SSL_CERT_FILE -> NIX_SSL_CERT_FILE | Eelco Dolstra | 1 | -1/+2 | |
This prevents collisions with the "native" OpenSSL, in particular on OS X. Fixes #921. | |||||
2016-10-12 | Shut up some warnings | Eelco Dolstra | 2 | -2/+2 | |
2016-10-12 | Add some functions needed by hydra | Eelco Dolstra | 3 | -0/+17 | |
2016-10-07 | querySubstitutablePaths(): Don't query paths for which we already have a ↵ | Eelco Dolstra | 1 | -3/+16 | |
substituter | |||||
2016-10-07 | LocalStore::querySubstitutablePaths(): Implement using queryValidPaths() | Eelco Dolstra | 1 | -7/+3 | |
2016-10-07 | Store::queryValidPaths(): Use async queryPathInfo() | Eelco Dolstra | 1 | -4/+39 | |
This allows the binary cache substituter to pipeline requests. | |||||
2016-10-07 | Implement generic Store::queryValidPaths() | Eelco Dolstra | 3 | -4/+12 | |
2016-10-07 | Add copyClosure utility function for Hydra | Eelco Dolstra | 2 | -0/+29 | |
2016-10-07 | importPaths(): Fix accessor support for Hydra | Eelco Dolstra | 4 | -7/+27 | |
2016-10-06 | toJSON(): Support some more types | Eelco Dolstra | 2 | -0/+12 | |
2016-10-06 | Fix getS3Stats() | Eelco Dolstra | 2 | -2/+2 | |
2016-10-06 | Merge pull request #998 from veprbl/rx_chmod_fix | Eelco Dolstra | 1 | -4/+5 | |
override rx directory permissions in deletePath() | |||||
2016-10-05 | Use std::random_device | Eelco Dolstra | 1 | -0/+1 | |