about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-02-21T23·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-02-21T23·08+0000
commit7f6161ab3af81e0adf834d9cfb6d232ad5c54ec2 (patch)
tree9f0cf3a7b6b3dd7b2afcefaf89ce99c7c7c1554a /src
parent0db450024dbeadf0c595a6de8743b7cb8f3dcbcd (diff)
* Flush cout to show progress.
Diffstat (limited to 'src')
-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 9c4790039ec4..88acc79aa162 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;
 }