forked from lix-project/lix
Merge branch 'issue-13' of https://github.com/tsion/nix-repl
This commit is contained in:
commit
a52fd0dbd0
|
@ -78,8 +78,6 @@ NixRepl::NixRepl(const Strings & searchPath)
|
||||||
, staticEnv(false, &state.staticBaseEnv)
|
, staticEnv(false, &state.staticBaseEnv)
|
||||||
{
|
{
|
||||||
curDir = absPath(".");
|
curDir = absPath(".");
|
||||||
|
|
||||||
store = openStore();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -638,6 +636,7 @@ int main(int argc, char * * argv)
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
store = openStore();
|
||||||
NixRepl repl(searchPath);
|
NixRepl repl(searchPath);
|
||||||
repl.mainLoop(files);
|
repl.mainLoop(files);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue