doc: Refer to ‘iso-codes’, not ‘iso-codes/pinned’.

This effectively reverts 8e5c8303a4, 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
This commit is contained in:
Ludovic Courtès 2024-10-14 13:04:35 +02:00
parent 221a922746
commit ff5072d270
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019-2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
@ -1061,8 +1061,7 @@ (define exp
(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 @@ (define exp
(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")))