about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
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;