Skip to content

Commit

Permalink
Fix building against current Nix master
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Dec 1, 2014
1 parent 71d6150 commit f924081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-repl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void NixRepl::loadFile(const Path & path)
loadedFiles.push_back(path);
Value v, v2;
state.evalFile(lookupFileArg(state, path), v);
Bindings bindings;
Bindings & bindings(*state.allocBindings(0));
state.autoCallFunction(bindings, v, v2);
addAttrsToScope(v2);
}
Expand Down

0 comments on commit f924081

Please sign in to comment.