aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-23Drop support for daemon socket path >= 108 charactersEelco Dolstra
Doing a chdir() is a bad idea in multi-threaded programs, leading to failures such as error: cannot connect to daemon at ‘/nix/var/nix/daemon-socket/socket’: No such file or directory Since Linux doesn't have a connectat() syscall like FreeBSD, there is no way we can support this in a race-free way.
2016-03-23LocalStoreAccessor::stat: Handle ENOTDIREelco Dolstra
Closes https://github.com/NixOS/hydra/pull/286.
2016-03-22Remove references to old-school signingEelco Dolstra
2016-03-22Don't overload dumpPath()Eelco Dolstra
2016-03-21Move signatures from NarInfo to ValidPathInfoEelco Dolstra
This allows queryPathInfo() to return signatures.
2016-03-21nix: Add --store flagEelco Dolstra
This is a bit user-friendlier than using $NIX_REMOTE.
2016-03-21Add Store::dumpPath() methodEelco Dolstra
This allows applying nix-store --verify-path to binary cache stores: NIX_REMOTE=https://cache.nixos.org nix-store --verify-path /nix/store/s5c7...
2016-03-21Drop support for upgrading from Nix <= 0.12Eelco Dolstra
2016-03-17Merge pull request #852 from domenkozar/docker/1.11.2Eelco Dolstra
Dockerfile: 1.9 -> 1.11.2, add more users
2016-03-16Dockerfile: 1.9 -> 1.11.2, add more usersDomen Kožar
2016-03-15Fix RPM buildEelco Dolstra
http://hydra.nixos.org/build/33280008
2016-03-15Fix Darwin buildEelco Dolstra
http://hydra.nixos.org/build/33279996
2016-03-14Fix another mismatched tagEelco Dolstra
http://hydra.nixos.org/build/33279570
2016-03-14Fix build on clang due to -Wmismatched-tagsEelco Dolstra
http://hydra.nixos.org/build/33073389
2016-03-14Fix bad DocBookEelco Dolstra
http://hydra.nixos.org/build/33087405
2016-03-14BinaryCacheStore::isValidPath(): Use .narinfo cacheEelco Dolstra
If a path is in the .narinfo cache, obviously it's valid.
2016-03-10Merge pull request #834 from abbradar/masterEelco Dolstra
Propagate path context via builtins.readFile
2016-03-10Merge pull request #822 from cstrahan/nix-store-serveEelco Dolstra
add docs for `nix-store --serve`
2016-03-04Add option binary-cache-secret-key-file for signing binary cachesEelco Dolstra
2016-03-04BinaryCacheStore: Remove publicKeyFile argumentEelco Dolstra
The public key can be derived from the secret key, so there's no need for the user to supply it separately.
2016-03-04Eliminate some large string copyingEelco Dolstra
2016-03-04Add warning about "nix" being experimentalEelco Dolstra
2016-03-04Merge branch 'new-cli'Eelco Dolstra
2016-03-04DohEelco Dolstra
2016-03-04Propagate path context via builtins.readFileNikolay Amiantov
2016-03-03Add file missing from 201b48de60751979835037a4b4f78128ba3fb7b3Eelco Dolstra
2016-03-03Merge pull request #827 from nathan7/muslEelco Dolstra
musl compatibility
2016-03-03build.cc: fs.h doesn't appear to be necessary anymoreNathan Zadoks
2016-03-03configure.ac: strip -musl in the same way as -gnuNathan Zadoks
2016-03-02Provide function required by HydraEelco Dolstra
2016-03-02Force stack trace for boost format errorsEelco Dolstra
2016-03-02Add an HTTP binary cache storeEelco Dolstra
Allowing stuff like NIX_REMOTE=https://cache.nixos.org nix-store -qR /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 or NIX_REMOTE=https://cache.nixos.org nix-store --export /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 | nix-store --import
2016-03-02Eliminate local-binary-cache-store.hhEelco Dolstra
2016-03-02Make store implementations pluggableEelco Dolstra
This for instance allows hydra-queue-runner to add the S3 backend at runtime.
2016-03-02Fix reading symlinksEelco Dolstra
The st_size field of a symlink doesn't have to be correct, e.g. for /dev/fd symlinks.
2016-03-02Remove bad assertionEelco Dolstra
2016-03-02FdSource: track number of bytes readEelco Dolstra
2016-03-02importPaths(): Optionally add NARs to binary cache accessorEelco Dolstra
This enables an optimisation in hydra-queue-runner, preventing a download of a NAR it just uploaded to the cache when reading files like hydra-build-products.
2016-02-29Add an HTTP binary cache storeEelco Dolstra
Allowing stuff like NIX_REMOTE=https://cache.nixos.org nix-store -qR /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 or NIX_REMOTE=https://cache.nixos.org nix-store --export /nix/store/x1p1gl3a4kkz5ci0nfbayjqlqmczp1kq-geeqie-1.1 | nix-store --import
2016-02-29Eliminate local-binary-cache-store.hhEelco Dolstra
2016-02-29Make store implementations pluggableEelco Dolstra
This for instance allows hydra-queue-runner to add the S3 backend at runtime.
2016-02-27add docs for `nix-store --serve`Charles Strahan
2016-02-28Fix reading symlinksEelco Dolstra
The st_size field of a symlink doesn't have to be correct, e.g. for /dev/fd symlinks.
2016-02-26Remove bad assertionEelco Dolstra
2016-02-26FdSource: track number of bytes readEelco Dolstra
2016-02-26importPaths(): Optionally add NARs to binary cache accessorEelco Dolstra
This enables an optimisation in hydra-queue-runner, preventing a download of a NAR it just uploaded to the cache when reading files like hydra-build-products.
2016-02-25nix: Add commands to query contents of NARs / binary cachesEelco Dolstra
For example, $ NIX_REMOTE=file:///my-cache nix ls-store -lR /nix/store/f4kbgl8shhyy76rkk3nbxr0lz8d2ip7q-binutils-2.23.1 dr-xr-xr-x 0 ./bin -r-xr-xr-x 30748 ./bin/addr2line -r-xr-xr-x 66973 ./bin/ar ... Similarly, "nix ls-nar" lists the contents of a NAR file, "nix cat-nar" extracts a file from a NAR file, and "nix cat-store" extract a file from a Nix store.
2016-02-25Merge branch 'master' into new-cliEelco Dolstra
2016-02-25Add NAR / Store accessor abstractionEelco Dolstra
This is primary to allow hydra-queue-runner to extract files like "nix-support/hydra-build-products" from NARs in binary caches.
2016-02-25Fix short boolean flagsEelco Dolstra