~ruther/guix-local

cf05f12cb7dfeb5a8fc078b6302bfb62fbc7b97a — Nicolas Graves 9 months ago 20a9c13
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>
1 files changed, 0 insertions(+), 8 deletions(-)

M guix/build-system/copy.scm
M guix/build-system/copy.scm => guix/build-system/copy.scm +0 -8
@@ 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."