mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
store: In `open-connection', process all the server's stderr.
* guix/store.scm (open-connection): Loop until `process-stderr' returns #t.
This commit is contained in:
parent
85a8a5f556
commit
34fcbe3a10
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -330,7 +330,8 @@ (define* (open-connection #:optional (file %default-socket-path)
|
|||
(let ((s (%make-nix-server s
|
||||
(protocol-major v)
|
||||
(protocol-minor v))))
|
||||
(process-stderr s)
|
||||
(let loop ((done? (process-stderr s)))
|
||||
(or done? (process-stderr s)))
|
||||
s))))))))
|
||||
|
||||
(define (close-connection server)
|
||||
|
|
Loading…
Reference in a new issue