guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: guix: Fix cross build of documentation


From: guix-commits
Subject: branch core-updates updated: gnu: guix: Fix cross build of documentation translations.
Date: Sat, 20 Jan 2024 04:30:16 -0500

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 18eb00ecb8 gnu: guix: Fix cross build of documentation translations.
18eb00ecb8 is described below

commit 18eb00ecb8777af31279110d2a89e65173d49690
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Jan 20 10:21:59 2024 +0100

    gnu: guix: Fix cross build of documentation translations.
    
    This fixes building guix-ru.info when building (for the Hurd)
    
        guix.ru.texi:3489: @node `??????????????????????' previously defined
        guix.ru.texi:2535: here is the previous definition as @node
        make[2]: *** [Makefile:5287: doc/guix.ru.info] Error 1
    
    and building guix-zn-CN.info when building (for the Hurd)
    
        guix.zh_CN.texi:651: @node `??????' previously defined
        guix.zh_CN.texi:522: here is the previous definition as @node
        make[2]: *** [Makefile:5352: doc/guix.zh_CN.info] Error 1
    
    and building guix-cookbook.ko when building (for the Hurd)
    
        guix-cookbook.ko.texi:781: @node `??????' previously defined
        guix-cookbook.ko.texi:522: here is the previous definition as @node
        make[2]: *** [Makefile:5549: doc/guix-cookbook.ko.info] Error 1
    
    * gnu/packages/package-management.scm (guix)[native-inputs]: Add
    libc-utf8-locales-for-target.
    
    Change-Id: I561b4da84b31b343e515559feb90d773b1cf440a
---
 gnu/packages/package-management.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index 55e930e510..7c70d5e793 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -460,7 +460,8 @@ $(prefix)/etc/openrc\n")))
                     ;; the 'patch-shebangs' phase, which would otherwise
                     ;; change it to 'GUILE/bin/guile'.
                     (delete 'patch-shebangs))))
-      (native-inputs `(("pkg-config" ,pkg-config)
+      (native-inputs `(("locales" ,(libc-utf8-locales-for-target))
+                       ("pkg-config" ,pkg-config)
 
                        ;; Guile libraries are needed here for
                        ;; cross-compilation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]