~ruther/guix-local

f41033ec2638e31228ceeb784cc4b210ffb1bfa3 — Janneke Nieuwenhuizen 2 years ago 7f2b754
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
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/package-management.scm
M gnu/packages/package-management.scm => gnu/packages/package-management.scm +2 -1
@@ 465,7 465,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.