mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
grafts: Use the right locale package.
This is a followup to b0715d7cd2
, fixing
builds of grafts on i586-gnu.
* guix/grafts.scm (graft-derivation/shallow)[glibc-locales]: Choose
symbol as a function of ‘target-hurd?’.
Change-Id: I05e50c0ed74a64986a0cea9c6302d1b5592b898d
This commit is contained in:
parent
ab8612d99e
commit
3dda74a546
1 changed files with 4 additions and 2 deletions
|
@ -22,7 +22,7 @@ (define-module (guix grafts)
|
|||
#:use-module (guix records)
|
||||
#:use-module (guix combinators)
|
||||
#:use-module (guix derivations)
|
||||
#:use-module ((guix utils) #:select (%current-system))
|
||||
#:use-module ((guix utils) #:select (%current-system target-hurd?))
|
||||
#:use-module (guix sets)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (srfi srfi-1)
|
||||
|
@ -98,7 +98,9 @@ (define* (graft-derivation/shallow drv grafts
|
|||
are not recursively applied to dependencies of DRV."
|
||||
(define glibc-locales
|
||||
(module-ref (resolve-interface '(gnu packages commencement))
|
||||
'glibc-utf8-locales-final))
|
||||
(if (target-hurd? system)
|
||||
'glibc-utf8-locales-final/hurd
|
||||
'glibc-utf8-locales-final)))
|
||||
|
||||
(define mapping
|
||||
;; List of store item pairs.
|
||||
|
|
Loading…
Reference in a new issue