store: Add another missing buffer flush.

This is a followup to 3809824199.

* guix/store.scm (add-file-tree-to-store): Add 'write-buffered-output'
call.
This commit is contained in:
Ludovic Courtès 2018-09-18 21:37:23 +02:00
parent 32b3611375
commit 000bbe02e2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View 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)))