store: Add another missing buffer flush.
authorLudovic Courtès <ludo@gnu.org>
Tue, 18 Sep 2018 19:37:23 +0000 (21:37 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 18 Sep 2018 21:23:43 +0000 (23:23 +0200)
This is a followup to 3809824199cdd52446176c9cd4761dd09f732542.

* guix/store.scm (add-file-tree-to-store): Add 'write-buffered-output'
call.

guix/store.scm

index cc5dcef..f88cdef 100644 (file)
@@ -1044,6 +1044,7 @@ an arbitrary directory layout in the store without creating a derivation."
                            #:file-port file-port
                            #:symlink-target symlink-target
                            #:directory-entries directory-entries)
+          (write-buffered-output server)
           (let loop ((done? (process-stderr server)))
             (or done? (loop (process-stderr server))))
           (let ((result (read-store-path port)))