From 3b5fd2d8576f116ddee6b3d305ef33dcd7ddb2cd Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 20 Mar 2017 12:57:05 -0400 Subject: [PATCH] hydra-eval-jobs: Disable the build hook. For some reason this causes an unexpected EOF when doing import-from-derivation. --- src/hydra-eval-jobs/hydra-eval-jobs.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hydra-eval-jobs/hydra-eval-jobs.cc b/src/hydra-eval-jobs/hydra-eval-jobs.cc index ded59acb..a09cbdb0 100644 --- a/src/hydra-eval-jobs/hydra-eval-jobs.cc +++ b/src/hydra-eval-jobs/hydra-eval-jobs.cc @@ -241,6 +241,9 @@ int main(int argc, char * * argv) return true; }); + /* FIXME: The build hook in conjunction with import-from-derivation is causing "unexpected EOF" during eval */ + settings.useBuildHook = false; + /* Prevent access to paths outside of the Nix search path and to the environment. */ settings.set("restrict-eval", "true");