check-available-binaries: Use 'with-store'.
* build-aux/check-available-binaries.scm: Use 'with-store' instead of an explicit 'open-connection'.
This commit is contained in:
parent
58caebf032
commit
619c9522b2
|
@ -28,8 +28,8 @@
|
||||||
(srfi srfi-1)
|
(srfi srfi-1)
|
||||||
(srfi srfi-26))
|
(srfi srfi-26))
|
||||||
|
|
||||||
(let* ((store (open-connection))
|
(with-store store
|
||||||
(native (append-map (lambda (system)
|
(let* ((native (append-map (lambda (system)
|
||||||
(map (cut package-derivation store <> system)
|
(map (cut package-derivation store <> system)
|
||||||
(list %bootstrap-tarballs emacs)))
|
(list %bootstrap-tarballs emacs)))
|
||||||
%supported-systems))
|
%supported-systems))
|
||||||
|
@ -52,4 +52,4 @@
|
||||||
(when result
|
(when result
|
||||||
(format (current-error-port) "~a packages found substitutable~%"
|
(format (current-error-port) "~a packages found substitutable~%"
|
||||||
(length total)))
|
(length total)))
|
||||||
(exit result)))
|
(exit result))))
|
||||||
|
|
Loading…
Reference in New Issue