diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-15 15:03:08 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-15 18:40:43 +0100 |
commit | 5a2639f9cb367bc42a552a6fe9c7081f8b7c4cf0 (patch) | |
tree | eb2a833772fb3fc17070f8ea672e443ea72aab3e | |
parent | 0030277f7984bf1368d002f0aa1a22168ddb4942 (diff) | |
download | guix-5a2639f9cb367bc42a552a6fe9c7081f8b7c4cf0.tar.gz |
Avoid warnings for the 'delete' binding of (guix build utils).
On Guile 3, importing (guix build utils) leads to warnings such as: WARNING: (gnu packages embedded): imported module (guix build utils) overrides core binding `delete' * gnu/packages/embedded.scm: Select 'alist-replace' from (guix build utils). * guix/ui.scm: Hide 'delete' from (guix build utils).
-rw-r--r-- | gnu/packages/embedded.scm | 2 | ||||
-rw-r--r-- | guix/ui.scm | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 67c6fdafdc..1f73e78fe0 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -32,7 +32,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system trivial) - #:use-module (guix build utils) + #:use-module ((guix build utils) #:select (alist-replace)) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module ((gnu packages base) #:prefix base:) diff --git a/guix/ui.scm b/guix/ui.scm index 023e604085..b99a9e59f5 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -55,7 +55,9 @@ ;; in 5d669883ecc104403c5d3ba7d172e9c02234577c, #:hide ;; unwanted bindings instead of #:select'ing the needed ;; bindings. - #:hide (package-name->name+version)) + #:hide (package-name->name+version + ;; Avoid "overrides core binding" warning. + delete)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-11) #:use-module (srfi srfi-19) |