From fdc516289c0b3faa5d616bae072d6800037ec384 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 May 2012 14:44:10 -0400 Subject: [PATCH] Doh - clear $NIX_PATH properly --- src/c/hydra-eval-jobs.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/c/hydra-eval-jobs.cc b/src/c/hydra-eval-jobs.cc index deeff81c..b1915fbd 100644 --- a/src/c/hydra-eval-jobs.cc +++ b/src/c/hydra-eval-jobs.cc @@ -205,14 +205,14 @@ static void findJobs(EvalState & state, XMLWriter & doc, void run(Strings args) { + /* Prevent undeclared dependencies in the evaluation via + $NIX_PATH. */ + unsetenv("NIX_PATH"); + EvalState state; Path releaseExpr; AutoArgs autoArgs; - /* Prevent undeclared dependencies in the evaluation via - $HYDRA_PATH. */ - unsetenv("HYDRA_PATH"); - for (Strings::iterator i = args.begin(); i != args.end(); ) { string arg = *i++; if (arg == "--arg" || arg == "--argstr") {