about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24T15·53+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24T15·53+0200
commit02b66e97ba08ed68a73654556734aadfc9f41c89 (patch)
tree4490d4b4000cae76b38df6a28812f55998612bd2 /nix-repl.cc
parent2cf0e67761121a4ddceb69a932bc2e3c0cd6cb6c (diff)
Fix building against current Nix master
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index ea188a1c75e5..fadaf079a8bd 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -73,7 +73,8 @@ string removeWhitespace(string s)
 
 
 NixRepl::NixRepl()
-    : staticEnv(false, &state.staticBaseEnv)
+    : state(Strings()) 
+    , staticEnv(false, &state.staticBaseEnv)
 {
     curDir = absPath(".");