From f92408136ed08804bab14b3e2a2def9b8effd7eb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 1 Dec 2014 10:07:10 +0100 Subject: [PATCH] Fix building against current Nix master --- nix-repl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix-repl.cc b/nix-repl.cc index 51d297d1d..343d3f9f3 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); }