mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 22:46:16 +02:00
Fix building against current Nix master
This commit is contained in:
parent
71d61508f2
commit
f92408136e
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ void NixRepl::loadFile(const Path & path)
|
||||||
loadedFiles.push_back(path);
|
loadedFiles.push_back(path);
|
||||||
Value v, v2;
|
Value v, v2;
|
||||||
state.evalFile(lookupFileArg(state, path), v);
|
state.evalFile(lookupFileArg(state, path), v);
|
||||||
Bindings bindings;
|
Bindings & bindings(*state.allocBindings(0));
|
||||||
state.autoCallFunction(bindings, v, v2);
|
state.autoCallFunction(bindings, v, v2);
|
||||||
addAttrsToScope(v2);
|
addAttrsToScope(v2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue