Skip to content

Instantly share code, notes, and snippets.

@tfc
Created October 21, 2018 07:58
Show Gist options
  • Save tfc/8a2a4f2229302b3618175e203371ab88 to your computer and use it in GitHub Desktop.
Save tfc/8a2a4f2229302b3618175e203371ab88 to your computer and use it in GitHub Desktop.
hydra patch for relaxing the evaluation restriction
diff --git a/src/hydra-eval-jobs/hydra-eval-jobs.cc b/src/hydra-eval-jobs/hydra-eval-jobs.cc
--- a/src/hydra-eval-jobs/hydra-eval-jobs.cc
+++ b/src/hydra-eval-jobs/hydra-eval-jobs.cc
@@ -281,7 +281,7 @@ int main(int argc, char * * argv)
/* Prevent access to paths outside of the Nix search path and
to the environment. */
- evalSettings.restrictEval = true;
+ evalSettings.restrictEval = false;
if (releaseExpr == "") throw UsageError("no expression specified");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment