build-system: copy: Remove dead glibc code.

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 <ludo@gnu.org>
This commit is contained in:
Nicolas Graves 2025-07-08 01:09:04 +02:00 committed by Ludovic Courtès
parent 20a9c13092
commit cf05f12cb7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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."