Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-12 | nix-shell/pure: keep environment variable SHLVL | Stefan Junker | 1 | -1/+1 | |
2017-03-11 | Dockerfile: 1.11.2 -> 1.11.7 | Domen Kožar | 1 | -1/+1 | |
2017-03-09 | nix -> Nix | Eelco Dolstra | 1 | -2/+2 | |
2017-03-09 | Merge branch 'allow-import-from-derivation' of https://github.com/shlevy/nix | Eelco Dolstra | 4 | -0/+17 | |
2017-03-09 | Merge pull request #1267 from adevress/master | Eelco Dolstra | 1 | -0/+1 | |
Add missing header <sstream> | |||||
2017-03-08 | Add missing header <sstream> | Adrien Devresse | 1 | -0/+1 | |
2017-03-08 | Add docs for allow-import-from-derivation | Shea Levy | 1 | -0/+10 | |
2017-03-08 | Add option to disable import-from-derivation completely, even if the drv is ↵ | Shea Levy | 3 | -0/+7 | |
already realized | |||||
2017-03-06 | Merge pull request #1264 from shlevy/s3-ca-file | Eelco Dolstra | 4 | -2/+6 | |
Properly set the caFile for aws-sdk-cpp s3 | |||||
2017-03-06 | Properly set the caFile for aws-sdk-cpp s3 | Shea Levy | 4 | -2/+6 | |
2017-03-06 | Revert fa125b9b28bea25a4eeb4d39a71a481563127cb9 | Eelco Dolstra | 1 | -6/+0 | |
This causes quadratic performance. | |||||
2017-03-05 | nix-daemon.plist: Set XDG_CACHE_HOME | Shea Levy | 1 | -0/+2 | |
2017-03-05 | Add signing and s3 support on darwin | Shea Levy | 1 | -2/+2 | |
2017-03-03 | Cache connection failures | Eelco Dolstra | 2 | -1/+18 | |
2017-03-03 | SSHMaster: Make thread-safe | Eelco Dolstra | 2 | -17/+29 | |
2017-03-03 | build-remote: Don't use a SSH master | Eelco Dolstra | 3 | -1/+9 | |
This is unnecessary because we make only one connection. | |||||
2017-03-03 | Pool: Don't hang if creating a connection fails | Eelco Dolstra | 1 | -0/+1 | |
2017-03-03 | Improve SSH handling | Eelco Dolstra | 7 | -113/+185 | |
* Unify SSH code in SSHStore and LegacySSHStore. * Fix a race starting the SSH master. We now wait synchronously for the SSH master to finish starting. This prevents the SSH clients from starting their own connections. * Don't use a master if max-connections == 1. * Add a "max-connections" store parameter. * Add a "compress" store parameter. | |||||
2017-03-03 | build-remote: Fix passing SSH key | Eelco Dolstra | 1 | -1/+1 | |
2017-03-03 | build-remote: Misc cleanup | Eelco Dolstra | 1 | -48/+41 | |
2017-03-03 | Fix fatal "broken pipe" error when $NIX_BUILD_HOOK is missing | Eelco Dolstra | 1 | -27/+39 | |
2017-03-02 | builtins.fetchgit: Support paths | Eelco Dolstra | 1 | -3/+5 | |
2017-03-02 | builtins.fetchgit: Fix bad format string | Eelco Dolstra | 1 | -1/+1 | |
2017-03-01 | TeeSink: Pre-reserve string space | Eelco Dolstra | 3 | -10/+21 | |
When receiving a very large file, this can prevent the string from having tobe copied, which temporarily doubles memory consumption. | |||||
2017-03-01 | RemoteStore::addToStore(): Send NAR rather than string containing NAR | Eelco Dolstra | 5 | -37/+21 | |
This allows the NAR to be streamed in the future (though we're not doing that yet). | |||||
2017-03-01 | readString(): Read directly into std::string | Eelco Dolstra | 1 | -3/+3 | |
When reading a huge string, this halves memory consumption. (Strictly speaking, this appears only valid in C++17, but who cares...) | |||||
2017-03-01 | Tweak message | Eelco Dolstra | 1 | -1/+1 | |
2017-03-01 | nix-store --import: Fix importing unsigned paths | Eelco Dolstra | 1 | -1/+1 | |
2017-03-01 | Fix assertion failure in nix-store --export | Eelco Dolstra | 1 | -0/+3 | |
Fixes #1173. | |||||
2017-03-01 | Handle importing NARs containing files greater than 4 GiB | Eelco Dolstra | 7 | -81/+84 | |
Also templatize readInt() to work for various integer types. | |||||
2017-02-28 | Fix building against older curl versions | Eelco Dolstra | 1 | -1/+4 | |
http://hydra.nixos.org/build/49490928 | |||||
2017-02-28 | Improve SQLite busy handling | Eelco Dolstra | 3 | -31/+43 | |
2017-02-28 | NarInfoDiskCache: Handle SQLite busy errors | Eelco Dolstra | 1 | -104/+115 | |
2017-02-28 | In SQLite errors, include the database path | Eelco Dolstra | 1 | -4/+8 | |
This is necessary because we have multiple SQLite databases (e.g. the binary cache cache). | |||||
2017-02-28 | Support auto-configuration of build-max-jobs | Eelco Dolstra | 4 | -7/+18 | |
"build-max-jobs" and the "-j" option can now be set to "auto" to use the number of CPUs in the system. (Unlike build-cores, it doesn't use 0 to imply auto-configuration, because a) magic values are a bad idea in general; b) 0 is a legitimate value used to disable local building.) Fixes #1198. | |||||
2017-02-27 | _SC_NPROCESSORS_ONLN -> std::thread::hardware_concurrency() | Eelco Dolstra | 1 | -7/+3 | |
2017-02-27 | Fix 1.8 release note about build-max-jobs | Eelco Dolstra | 1 | -2/+2 | |
We set build-cores automatically, not build-max-jobs. (The commit message for de4cdd0d47adc70a4db12397a42c18ee50b4e662 also got this wrong.) | |||||
2017-02-27 | Retry downloads on HTTP/2 stream errors | Eelco Dolstra | 1 | -1/+3 | |
Issue #1254. | |||||
2017-02-27 | Merge pull request #1252 from bjornfor/channel-rename-fix | Domen Kožar | 1 | -1/+3 | |
unpack-channel.nix: fix 'mv' corner case | |||||
2017-02-27 | unpack-channel.nix: fix 'mv' corner case | Bjørn Forsman | 1 | -1/+3 | |
unpack-channel.nix fails if the tarball contains a directory named the same as the channel: mv: cannot move 'nixpkgs' to a subdirectory of itself, '.../nixpkgs' This commit fixes that by not moving the directory if it already has the correct name. | |||||
2017-02-24 | Fix nix-shell tests | Eelco Dolstra | 2 | -0/+2 | |
The nix-shell fix in 668fef2e4f1c7758e2a55e355b4826014d5b7ba9 revealed that we had some --pure tests that incorrectly depended on PATH from config.nix's mkDerivation being overwritten by the caller's PATH. http://hydra.nixos.org/build/49242478 | |||||
2017-02-24 | nix-shell: Better error message when the shell can't be started | Eelco Dolstra | 1 | -2/+4 | |
2017-02-24 | Register content-addressability assertion for fixed outputs | Eelco Dolstra | 1 | -1/+4 | |
2017-02-24 | Verify content-addressability assertions at registration time | Eelco Dolstra | 1 | -0/+2 | |
2017-02-24 | nix-shell: Overwrite environment variables | Eelco Dolstra | 1 | -1/+1 | |
Need to remember that std::map::insert() and emplace() don't overwrite existing entries... This fixes a regression relative to 1.11 that in particular triggers in nested nix-shells. Before: $ nativeBuildInputs=/foo nix-shell -p hello --run 'hello' build input /foo does not exist After: $ nativeBuildInputs=/foo nix-shell -p hello --run 'hello' Hello, world! | |||||
2017-02-22 | RemoteStore::addToStore(): Pass content-addressability assertion | Eelco Dolstra | 6 | -3/+16 | |
... and use this in Downloader::downloadCached(). This fixes $ nix-build https://nixos.org/channels/nixos-16.09-small/nixexprs.tar.xz -A hello error: cannot import path ‘/nix/store/csfbp1s60dkgmk9f8g0zk0mwb7hzgabd-nixexprs.tar.xz’ because it lacks a valid signature | |||||
2017-02-22 | Doh | Eelco Dolstra | 1 | -2/+2 | |
2017-02-22 | Fix 32-bit RPM/Deb builds | Eelco Dolstra | 1 | -4/+4 | |
http://hydra.nixos.org/build/49130529 | |||||
2017-02-21 | Handle CURLE_RECV_ERROR as a transient error | Eelco Dolstra | 1 | -1/+1 | |
This fixes unable to download ‘https://cache.nixos.org/nar/077h8ji74y9b0qx7rjk71xd80vjqp6q5gy137r553jlvdlxdcdlk.nar.xz’: HTTP error 200 (curl error: Failure when receiving data from the peer) | |||||
2017-02-21 | useChroot -> useSandbox | Eelco Dolstra | 1 | -1/+1 | |