diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-01T09·07+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-01T09·07+0100 |
commit | f92408136ed08804bab14b3e2a2def9b8effd7eb (patch) | |
tree | e7eb4b729028a50db2902d30614e358202252fa9 /nix-repl.cc | |
parent | 71d61508f203e8d926a0365332ff218c1314f734 (diff) |
Fix building against current Nix master
Diffstat (limited to 'nix-repl.cc')
-rw-r--r-- | nix-repl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-repl.cc b/nix-repl.cc index 51d297d1d175..343d3f9f3bff 100644 --- a/nix-repl.cc +++ b/nix-repl.cc @@ -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); } |