From ff5072d2707656fb43a5b1428d5ee127a700228c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 14 Oct 2024 13:04:35 +0200 Subject: doc: Refer to ‘iso-codes’, not ‘iso-codes/pinned’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This effectively reverts 8e5c8303a414719c19a597247674be87fd500d45, which was unnecessary in this case and would break when evaluating ‘doc/build.scm’ against a previous Guix revision where ‘iso-codes/pinned’ is unbound. * doc/build.scm (localization-helper-module): Use ‘iso-codes’ rather than ‘iso-codes/pinned’. Change-Id: I95497fa474fb5ce89c7d2fe9bf0925a0cd438763 --- doc/build.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/build.scm b/doc/build.scm index 664766a1f5..7a2b562028 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019-2023 Ludovic Courtès +;;; Copyright © 2019-2024 Ludovic Courtès ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2022 Maxim Cournoyer ;;; @@ -1061,8 +1061,7 @@ must be the Guix top-level source directory, from which PO files are taken." (bindtextdomain "guix-manual" #+(guix-manual-text-domain source)) (bindtextdomain "iso_639-3" ;language names - #+(file-append iso-codes/pinned - "/share/locale")) + #+(file-append iso-codes "/share/locale")) (setenv "LANGUAGE" ,language) (write (gettext ,str ,domain)))) @@ -1080,7 +1079,7 @@ must be the Guix top-level source directory, from which PO files are taken." (define %iso639-languages (vector->list (assoc-ref (call-with-input-file - #+(file-append iso-codes/pinned + #+(file-append iso-codes "/share/iso-codes/json/iso_639-3.json") json->scm) "639-3"))) -- cgit 1.4.1