lix/src/libstore
Shea Levy 64e23d0a38 Add download-via-ssh substituter
This substituter connects to a remote host, runs nix-store --serve
there, and then forwards substituter commands on to the remote host and
sends their results to the calling program. The ssh-substituter-hosts
option can be specified as a list of hosts to try.

This is an initial implementation and, while it works, it has some
limitations:

* Only the first host is used
* There is no caching of query results (all queries are sent to the
  remote machine)
* There is no informative output (such as progress bars)
* Some failure modes may cause unhelpful error messages
* There is no concept of trusted-ssh-substituter-hosts

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-02-08 00:13:33 -05:00
..
build.cc Fix some clang warnings 2014-01-21 18:29:55 +01:00
derivations.cc Only substitute wanted outputs of a derivation 2012-11-26 17:15:09 +01:00
derivations.hh Only substitute wanted outputs of a derivation 2012-11-26 17:15:09 +01:00
gc.cc Fix some clang warnings 2014-01-21 18:29:55 +01:00
globals.cc Add download-via-ssh substituter 2014-02-08 00:13:33 -05:00
globals.hh Add download-via-ssh substituter 2014-02-08 00:13:33 -05:00
local-store.cc Fix assertion failure in ‘nix-store --load-db’ 2014-02-03 22:36:07 +01:00
local-store.hh Remove nix-setuid-helper 2013-11-14 11:57:37 +01:00
local.mk Fix "make dist" 2014-02-01 14:38:12 +01:00
misc.cc Don't substitute derivations that have preferLocalBuild set 2013-06-20 19:26:31 +02:00
misc.hh Don't set $preferLocalBuild and $requiredSystemFeatures in builders 2013-06-20 18:07:27 +00:00
optimise-store.cc Revert "Prevent config.h from being clobbered" 2013-03-08 01:24:59 +01:00
pathlocks.cc Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
references.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc Don't apply the CPU affinity hack to nix-shell (and other Perl programs) 2013-09-06 16:36:56 +02:00
remote-store.hh nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings 2012-12-20 18:41:44 +01:00
schema.sql * Store the size of a store path in the database (to be precise, the 2010-11-16 17:11:46 +00:00
store-api.cc nix-store --serve: Flush out after every loop 2014-02-08 00:13:33 -05:00
store-api.hh nix-store --serve: Flush out after every loop 2014-02-08 00:13:33 -05:00
worker-protocol.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00