ui: Avoid #:select'ing bindings introduced in the latest (guix build utils).
authorLudovic Courtès <ludo@gnu.org>
Sat, 9 Jun 2018 08:21:26 +0000 (10:21 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 9 Jun 2018 10:02:28 +0000 (12:02 +0200)
This should allow 'guix pull' to complete even when invoked from a Guix
that predates commit 5d669883ecc104403c5d3ba7d172e9c02234577c.

* guix/ui.scm: Use #:hide instead of #:select.  This is a followup to
5d669883ecc104403c5d3ba7d172e9c02234577c.

guix/ui.scm

index 45f438f..99f66b0 100644 (file)
   #: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)