From cf05f12cb7dfeb5a8fc078b6302bfb62fbc7b97a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 8 Jul 2025 01:09:04 +0200 Subject: [PATCH] build-system: copy: Remove dead glibc code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An unused glibc package made its way into the copy-build-system. It's confusing, so remove it. * guix/build-system/copy.scm (default-glibc): Remove variable. (lower): Remove glibc keyword. Signed-off-by: Ludovic Courtès --- guix/build-system/copy.scm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/guix/build-system/copy.scm b/guix/build-system/copy.scm index 1f2937e0f18..760657f4639 100644 --- a/guix/build-system/copy.scm +++ b/guix/build-system/copy.scm @@ -30,7 +30,6 @@ #:use-module (guix packages) #:use-module (srfi srfi-1) #:export (%copy-build-system-modules - default-glibc lower copy-build copy-build-system)) @@ -48,15 +47,8 @@ `((guix build copy-build-system) ,@%default-gnu-imported-modules)) -(define (default-glibc) - "Return the default glibc package." - ;; Do not use `@' to avoid introducing circular dependencies. - (let ((module (resolve-interface '(gnu packages base)))) - (module-ref module 'glibc))) - (define* (lower name #:key source inputs native-inputs outputs system target - (glibc (default-glibc)) #:allow-other-keys #:rest arguments) "Return a bag for NAME from the given arguments."