about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-02T15·59-0500
committerShea Levy <shea@shealevy.com>2018-03-02T15·59-0500
commitaa8bbbf69dfb7a1cd02237fee65c2fce39d27556 (patch)
treef1780a7b9ca97e3034d14dce3adfba7184fe8d67 /src/nix
parent5c7a6d07de1dbe18eaac5e6bce766dbe978b8165 (diff)
parent78ac3eb4ebc04e180abeb01bcc6f9d4103522eab (diff)
Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/dump-path.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/dump-path.cc b/src/nix/dump-path.cc
index 1a1866437b07..f411c0cb7c89 100644
--- a/src/nix/dump-path.cc
+++ b/src/nix/dump-path.cc
@@ -29,6 +29,7 @@ struct CmdDumpPath : StorePathCommand
     {
         FdSink sink(STDOUT_FILENO);
         store->narFromPath(storePath, sink);
+        sink.flush();
     }
 };