Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-11 | Drop WWW::Curl dependency | Eelco Dolstra | 2 | -13/+1 | |
Somehow this came back after d1da6967b8891763ce04d668027cf300c9bbf0b2. | |||||
2017-04-10 | shell.nix: Remove more dependencies | Eelco Dolstra | 1 | -2/+1 | |
Thanks @copumpkin. | |||||
2017-04-10 | Merge pull request #1316 from copumpkin/nix-retries-default | Eelco Dolstra | 1 | -1/+1 | |
Default to 5 download retries | |||||
2017-04-10 | Merge pull request #1317 from copumpkin/nix-retry-write-error | Eelco Dolstra | 1 | -0/+5 | |
Add CURLE_WRITE_ERROR as a transient error condition | |||||
2017-04-10 | Add CURLE_WRITE_ERROR as a transient error condition | Dan Peebles | 1 | -0/+5 | |
We've observed it failing downloads in the wild and retrying the same URL a few moments later seemed to fix it. | |||||
2017-04-10 | Default to 5 download retries | Dan Peebles | 1 | -1/+1 | |
This should help certain downloaders that don't request anything special for the number of retries, like nix-channel. | |||||
2017-04-10 | shell.nix: Remove obsolete flags | Eelco Dolstra | 1 | -2/+0 | |
2017-04-10 | Minor cleanup | Eelco Dolstra | 3 | -15/+5 | |
Also, possible fix for #1310 on 32-bit systems. | |||||
2017-04-10 | Allow "auto" as a store URI | Eelco Dolstra | 1 | -1/+1 | |
Using the empty string is likely to be ambiguous in some contexts. | |||||
2017-04-07 | Merge pull request #1306 from copumpkin/retry-on-ssl-error | Eelco Dolstra | 1 | -0/+2 | |
Retry downloads on transient SSL errors too | |||||
2017-04-06 | Retry downloads on transient SSL errors too | Dan Peebles | 1 | -0/+2 | |
2017-04-06 | Implement RemoteStore::queryMissing() | Eelco Dolstra | 5 | -3/+44 | |
This provides a significant speedup, e.g. 64 s -> 12 s for nix-build --dry-run -I nixpkgs=channel:nixos-16.03 '<nixpkgs/nixos/tests/misc.nix>' -A test on a cold local and CloudFront cache. The alternative is to use lots of concurrent daemon connections but that seems wasteful. | |||||
2017-04-06 | Fix bogus "unexpected Nix daemon error: interrupted by the user" | Eelco Dolstra | 1 | -2/+2 | |
2017-04-06 | Add a method to allow hydra-queue-runner to flush the path info cache | Eelco Dolstra | 1 | -5/+7 | |
2017-04-06 | nix-daemon: Disable path info cache | Eelco Dolstra | 5 | -5/+17 | |
This is useless because the client also caches path info, and can cause problems for long-running clients like hydra-queue-runner (i.e. it may return cached info about paths that have been garbage-collected). | |||||
2017-04-04 | Allow default sandbox paths to be overriden | Eelco Dolstra | 1 | -1/+1 | |
E.g. you can now redirect /etc/resolv.conf to a different file. | |||||
2017-04-04 | Make /var/run/nscd/socket optional | Eelco Dolstra | 1 | -1/+2 | |
Not every distribution uses nscd. | |||||
2017-04-03 | Really fix the RPM build | Eelco Dolstra | 1 | -7/+0 | |
2017-03-31 | Maybe fix the RPM build | Eelco Dolstra | 1 | -5/+0 | |
http://hydra.nixos.org/build/51095532 | |||||
2017-03-31 | Sandbox: Fix /dev/ptmx on recent kernels | Eelco Dolstra | 1 | -8/+1 | |
This fixes "No such file or directory" when opening /dev/ptmx (e.g. http://hydra.nixos.org/build/51094249). The reason appears to be some changes to /dev/ptmx / /dev/pts handling between Linux 4.4 and 4.9. See https://patchwork.kernel.org/patch/7832531/. The fix is to go back to mounting a proper /dev/pts instance inside the sandbox. Happily, this now works inside user namespaces, even for unprivileged users. So NIX_REMOTE=local?root=/tmp/nix nix-build \ '<nixpkgs/nixos/tests/misc.nix>' -A test works for non-root users. The downside is that the fix breaks sandbox builds on older kernels (probably pre-4.6), since mounting a devpts fails inside user namespaces for some reason I've never been able to figure out. Builds on those systems will fail with error: while setting up the build environment: mounting /dev/pts: Invalid argument Ah well. | |||||
2017-03-31 | builtins.exec: Make the argument just a list | Shea Levy | 1 | -22/+9 | |
2017-03-31 | Merge branch 'builtins.exec' | Shea Levy | 3 | -5/+59 | |
2017-03-31 | Fix evaluation error | Eelco Dolstra | 1 | -1/+1 | |
2017-03-31 | Retry curl error 16 | Eelco Dolstra | 1 | -0/+1 | |
2017-03-31 | Fix perl build | Eelco Dolstra | 4 | -27/+20 | |
2017-03-31 | Merge branch 'remove-perl' of https://github.com/shlevy/nix | Eelco Dolstra | 16 | -111/+220 | |
2017-03-30 | Remove tabs | Shea Levy | 1 | -3/+3 | |
2017-03-30 | Add exec primop behind allow-unsafe-native-code-during-evaluation. | Shea Levy | 3 | -5/+59 | |
Execute a given program with the (optional) given arguments as the user running the evaluation, parsing stdout as an expression to be evaluated. There are many use cases for nix that would benefit from being able to run arbitrary code during evaluation, including but not limited to: * Automatic git fetching to get a sha256 from a git revision * git rev-parse HEAD * Automatic extraction of information from build specifications from other tools, particularly language-specific package managers like cabal or npm * Secrets decryption (e.g. with nixops) * Private repository fetching Ideally, we would add this functionality in a more principled way to nix, but in the mean time 'builtins.exec' can be used to get these tasks done. The primop is only available when the 'allow-unsafe-native-code-during-evaluation' nix option is true. That flag also enables the 'importNative' primop, which is strictly more powerful but less convenient (since it requires compiling a plugin against the running version of nix). | |||||
2017-03-28 | Ignore broken "Deriver: unknown-deriver" fields in .narinfo | Eelco Dolstra | 1 | -3/+5 | |
These were generated by a legacy tool. | |||||
2017-03-24 | use std::tuple for ValueMap allocator | Daiderd Jordan | 1 | -1/+1 | |
2017-03-22 | Merge pull request #1287 from mattaudesse/readme-grammar-its-typo | Eelco Dolstra | 1 | -1/+1 | |
Fix minor grammatical nitpick ("it's" vs. "its") in `README.md`. | |||||
2017-03-22 | Fix minor grammatical nitpick ("it's" vs. "its") in `README.md`. | Matt Audesse | 1 | -1/+1 | |
See: http://data.grammarbook.com/blog/pronouns/1-grammar-error/ | |||||
2017-03-22 | Fix xz decompression | Eelco Dolstra | 1 | -4/+1 | |
Fixes #1285. | |||||
2017-03-21 | LocalFSStore::getBuildLog(): Handle corrupted logs | Eelco Dolstra | 3 | -14/+21 | |
2017-03-21 | Don't hang in decompression if bzip2 data ends prematurely | Eelco Dolstra | 1 | -0/+6 | |
2017-03-21 | Fix tests to reflect the signed-binary-caches default change | Eelco Dolstra | 3 | -10/+11 | |
2017-03-21 | Only use cache.nixos.org when the store is /nix/store | Eelco Dolstra | 1 | -1/+5 | |
This is consistent with the behaviour of the old download-from-binary-cache substituter. | |||||
2017-03-21 | Require signatures by default | Eelco Dolstra | 1 | -1/+1 | |
This corresponds to the NixOS default. | |||||
2017-03-21 | Restore cache.nixos.org as the default substituter | Eelco Dolstra | 3 | -15/+4 | |
Fixes #1283. | |||||
2017-03-21 | Don't make brotli a hard dependency | Eelco Dolstra | 1 | -1/+1 | |
2017-03-21 | Move istringstream_nocopy to a separate file | Eelco Dolstra | 5 | -90/+95 | |
2017-03-21 | Honor $NIX_SSHOPTS again | Eelco Dolstra | 2 | -9/+14 | |
NixOps needs this. | |||||
2017-03-20 | Merge branch 'darwin-s3-binary-cache-store' of https://github.com/shlevy/nix | Eelco Dolstra | 4 | -15/+89 | |
2017-03-20 | Merge pull request #1275 from steveeJ/patch-1 | Eelco Dolstra | 1 | -1/+1 | |
nix-shell/pure: keep environment variable SHLVL | |||||
2017-03-16 | nix copy: Make -r option use the "from" store | Eelco Dolstra | 3 | -4/+14 | |
Previously, we tried to compute the closure in the local store, which obviously doesn't work. | |||||
2017-03-16 | ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// | Eelco Dolstra | 4 | -4/+4 | |
2017-03-16 | copyPaths(): Use queryValidPaths() to reduce SSH latency | Eelco Dolstra | 10 | -38/+46 | |
2017-03-16 | copyPaths(): Don't query path info for a path the target already has | Eelco Dolstra | 1 | -0/+1 | |
For example, this cuts "nix-copy-closure --from" on a NixOS system closure from 15.9s to 0.5s. | |||||
2017-03-16 | LegacySSHStore: Provide a faster implementation of computeFSClosure() | Eelco Dolstra | 2 | -1/+23 | |
This avoids the latency of the standard implementation, which can make a huge difference (e.g. 16.5s -> 0.5s on a NixOS system closure). | |||||
2017-03-16 | Fix nix-copy-closure --to | Eelco Dolstra | 1 | -1/+1 | |