aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 9c4790039..88acc79aa 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -640,7 +640,7 @@ static void opImport(Strings opFlags, Strings opArgs)
FdSource source(STDIN_FILENO);
while (readInt(source) == 1)
- cout << format("%1%\n") % store->importPath(false, source);
+ cout << format("%1%\n") % store->importPath(false, source) << std::flush;
}