about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-02T11·23+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-02T11·24+0200
commit45c6405a30bd1b2cb8ad6a94b23be8b10cf52069 (patch)
treea0dcea0bb8f2c740b161de8b29bfbeeb7595299c /nix-repl.cc
parentf92408136ed08804bab14b3e2a2def9b8effd7eb (diff)
Fix building against latest Nix
Fixes #8.
Fixes #9.
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index 343d3f9f3bff..8cfbfeff9f4e 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -594,6 +594,7 @@ int main(int argc, char * * argv)
 {
     return handleExceptions(argv[0], [&]() {
         initNix();
+        initGC();
 
         Strings files, searchPath;