mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +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…
Add table
Add a link
Reference in a new issue