This commit is contained in:
Eelco Dolstra
2016-02-18 19:40:27 +01:00

View File

@@ -78,8 +78,6 @@ NixRepl::NixRepl(const Strings & searchPath)
, staticEnv(false, &state.staticBaseEnv)
{
curDir = absPath(".");
store = openStore();
}
@@ -638,6 +636,7 @@ int main(int argc, char * * argv)
return true;
});
store = openStore();
NixRepl repl(searchPath);
repl.mainLoop(files);
});