store: Wait for the server to be done sending output.
authorLudovic Courtès <ludo@gnu.org>
Sat, 16 Jun 2012 14:13:12 +0000 (16:13 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 16 Jun 2012 14:13:12 +0000 (16:13 +0200)
commitdcee50c1146a6698be3e88a36da5e890f829ff9d
treee0b95f074619c0300d7d47f41e3b160a6429087b
parent73d96596978b6a6f338e5444719a36bffd3fa521
store: Wait for the server to be done sending output.

* guix/store.scm (current-build-output-port): New variable.
  (process-stderr): Add docstring.  Always return #f, except upon
  %STDERR-LAST.  Upon %STDERR-NEXT, write to
  `current-build-output-port', not `current-error-port'.
  (set-build-options): Loop until `process-stderr' returns true.
  (define-operation): Likewise.
  (build-derivations): Update docstring to mention that it's
  synchronous.
guix/store.scm