ui: Avoid #:select'ing bindings introduced in the latest (guix build utils).

This should allow 'guix pull' to complete even when invoked from a Guix
that predates commit 5d669883ec.

* guix/ui.scm: Use #:hide instead of #:select.  This is a followup to
5d669883ec.
This commit is contained in:
Ludovic Courtès 2018-06-09 10:21:26 +02:00
parent 4554d4c8a9
commit 24cb66d18e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 5 deletions

View File

@ -42,11 +42,12 @@
#:use-module ((guix build syscalls)
#:select (free-disk-space terminal-columns))
#:use-module ((guix build utils)
#:select (invoke-error? invoke-error-program
invoke-error-arguments
invoke-error-exit-status
invoke-error-term-signal
invoke-error-stop-signal))
;; XXX: All we need are the bindings related to
;; '&invoke-error'. However, to work around the bug described
;; in 5d669883ecc104403c5d3ba7d172e9c02234577c, #:hide
;; unwanted bindings instead of #:select'ing the needed
;; bindings.
#:hide (package-name->name+version))
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-11)
#:use-module (srfi srfi-19)