~ruther/guix-local

3abaf0c4407b1f0e53f945bdbb13b6a8209c44dd — Ludovic Courtès 13 years ago 800cdee
Add `close-connection'.

* guix/store.scm (close-connection): New procedure.
1 files changed, 5 insertions(+), 0 deletions(-)

M guix/store.scm
M guix/store.scm => guix/store.scm +5 -0
@@ 41,6 41,7 @@
            hash-algo

            open-connection
            close-connection
            set-build-options
            valid-path?
            add-text-to-store


@@ 280,6 281,10 @@
                      (process-stderr s)
                      s))))))))

(define (close-connection server)
  "Close the connection to SERVER."
  (close (nix-server-socket server)))

(define current-build-output-port
  ;; The port where build output is sent.
  (make-parameter (current-error-port)))