From 1839a5542acf4544633e104ecc0a99cbf6b8ba5a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Apr 2018 11:42:17 +0200 Subject: Fix #2057 --- src/nix/repl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 9216209173d9..9782e835aeab 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -197,6 +197,7 @@ bool NixRepl::getLine(string & input, const std::string &prompt) } } input += s; + input += '\n'; return true; } -- cgit 1.4.1