forked from lix-project/hydra
parent
e2a012de8c
commit
cb5e438a08
|
@ -58,8 +58,8 @@ rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "nix";
|
||||
rev = "d2c58ba60572e4248bd52f82fac57d6e0c79773d";
|
||||
sha256 = "195f23xcndzrzg3n4wk0884qa6k4gm9mq1pkhzd7rn30vkn564dc";
|
||||
rev = "2af5d35fdc1171a9bdab7e2fc005673d76417c06";
|
||||
sha256 = "1q2s4r895qn6sws048j7xwfdpyxm0dwkh52c55535w7x46am33wa";
|
||||
};
|
||||
buildInputs = attrs.buildInputs ++ [ autoreconfHook bison flex ];
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ aws-sdk-cpp' autoconf-archive ];
|
||||
|
|
|
@ -220,7 +220,7 @@ void State::buildRemote(ref<Store> destStore,
|
|||
a no-op for regular stores, but for the binary cache store,
|
||||
this will copy the inputs to the binary cache from the local
|
||||
store. */
|
||||
copyClosure(ref<Store>(localStore), destStore, step->drv.inputSrcs);
|
||||
copyClosure(ref<Store>(localStore), destStore, step->drv.inputSrcs, false, true);
|
||||
|
||||
/* Copy the input closure. */
|
||||
if (/* machine->sshName != "localhost" */ true) {
|
||||
|
@ -388,7 +388,7 @@ void State::buildRemote(ref<Store> destStore,
|
|||
|
||||
to << cmdExportPaths << 0 << outputs;
|
||||
to.flush();
|
||||
destStore->importPaths(from, result.accessor);
|
||||
destStore->importPaths(from, result.accessor, true);
|
||||
|
||||
auto now2 = std::chrono::steady_clock::now();
|
||||
|
||||
|
|
|
@ -799,11 +799,9 @@ void State::run(BuildID buildOne)
|
|||
|
||||
localStore = openStore();
|
||||
|
||||
if (hydraConfig["store_uri"] == "") {
|
||||
_destStore = localStore;
|
||||
} else {
|
||||
_destStore = openStoreAt(hydraConfig["store_uri"]);
|
||||
}
|
||||
_destStore = hydraConfig["store_uri"] == ""
|
||||
? localStore
|
||||
: openStore(hydraConfig["store_uri"]);
|
||||
|
||||
auto isTrue = [](const std::string & s) {
|
||||
return s == "1" || s == "true";
|
||||
|
|
Loading…
Reference in a new issue