build-system/mix: Remove #:glibc-utf8-locales parameter.

* guix/build-system/mix.scm (default-glibc-utf8-locales): Remove.
(lower): Remove #:glibc-utf8-locales and its use.

Change-Id: Ibc8e00fb19e7c3404999e53855660ea11b9825af
This commit is contained in:
Ludovic Courtès 2024-01-07 21:52:34 +01:00
parent e360a0da34
commit 6b995da47a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -38,11 +38,6 @@ (define-module (guix build-system mix)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (mix-build-system hexpm-uri)) #:export (mix-build-system hexpm-uri))
;; Lazily resolve bindings to avoid circular dependencies.
(define (default-glibc-utf8-locales)
(let* ((base (resolve-interface '(gnu packages base))))
(module-ref base 'glibc-utf8-locales)))
(define (default-elixir-hex) (define (default-elixir-hex)
(let ((elixir (resolve-interface '(gnu packages elixir)))) (let ((elixir (resolve-interface '(gnu packages elixir))))
(module-ref elixir 'elixir-hex))) (module-ref elixir 'elixir-hex)))
@ -144,7 +139,6 @@ (define* (lower name
#:key #:key
(elixir (default-elixir)) (elixir (default-elixir))
(elixir-hex (default-elixir-hex)) (elixir-hex (default-elixir-hex))
(glibc-utf8-locales (default-glibc-utf8-locales))
(inputs '()) (inputs '())
(native-inputs '()) (native-inputs '())
(propagated-inputs '()) (propagated-inputs '())
@ -159,11 +153,10 @@ (define* (lower name
(let ((private-keywords (let ((private-keywords
'(#:inputs #:native-inputs '(#:inputs #:native-inputs
#:outputs #:system #:target #:outputs #:system #:target
#:elixir #:elixir-hex #:glibc-utf8-locales #:elixir #:elixir-hex
#:rebar3 #:erlang)) #:rebar3 #:erlang))
(build-inputs (build-inputs
`(,@(standard-packages) `(,@(standard-packages)
("glibc-utf8-locales" ,glibc-utf8-locales)
("erlang" ,(lookup-package-input elixir "erlang")) ("erlang" ,(lookup-package-input elixir "erlang"))
("rebar3" ,rebar3) ("rebar3" ,rebar3)
("elixir" ,elixir) ("elixir" ,elixir)