Hello!
I have recently installed Guix (once again) and would like to install a subset
of the available glibc locales. The manual advises a custom package definition
for this purpose, which I was able to install using ‘guix package --install-
from-expression’ and the code below as the argument:
(use-modules (gnu packages base))
(define my-glibc-locales
(make-glibc-utf8-locales
glibc
#:locales (list "cs_CZ" "en_GB" "en_US" "eo" "fr_FR" "ru_RU")
#:name "glibc-my-utf8-locales"))
my-glibc-locales
The problem is, the package does not persist. When I try to upgrade my
packages, Guix complains like so:
guix package: warning: package 'glibc-my-utf8-locales' no longer exists
Is there an easy, straightforward way I can make the custom package last? I
have tried defining a custom module by storing the above definition in a file
and
storing the path to its directory in the environment variable
‘GUIX_PACKAGE_PATH’. Guix then suggested I prefix the definition with ‘(define-
module (my-glibc-locales))’, which I did, but that did not cause the package
to exist.
Channels seem far more complex and involved than I’d be comfortable getting at
this point, so I’m looking for an alternative. I’m not terribly opposed to
learning more about how Guix works, but for now my goal is just to get the
locales installed so I can carry on with the basic setup. Any help to that end
would be appreciated.
Thanks and regards
// Tirifto