[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54893: guix-daemon, locale, LANG, and unicode in git tag names
From: |
Maxime Devos |
Subject: |
bug#54893: guix-daemon, locale, LANG, and unicode in git tag names |
Date: |
Wed, 13 Apr 2022 10:03:00 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Attila Lendvai schreef op wo 13-04-2022 om 07:51 [+0000]:
> i don't understand why the setlocale call in gnu-build-system's
> install-locale works, but my setlocale kludge in git-download doesn't.
I don't expect /run/current-system/locale to exist inside the build
container. Maybe try
(setenv "GUIX_LOCPATH" #+(file-append glibc-locales "/lib/locale"))
;; for testing
((@ (guix build utils) invoke)
#+(file-append coreutils "/bin/ls") (getenv "GUIX_LOCPATH"))
instead?
gnu-build-system has a (variant of) glibc-locales in its (implicit)
inputs, so there GUIX_LOCPATH can be set to the /gnu/store/.../locales
file name, in the 'set-paths' procedure.
> i even tried to add glibc-locale as native-inputs to the package in question,
> but it didn't help.
Building the package and downloading the source code are separate steps
(derivations), they don't automatically have access to each other's
inputs.
Greetings,
Maxime
signature.asc
Description: This is a digitally signed message part
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Attila Lendvai, 2022/04/12
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/12
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Attila Lendvai, 2022/04/13
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names,
Maxime Devos <=
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Attila Lendvai, 2022/04/13
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Attila Lendvai, 2022/04/19
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/19
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/19
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/13
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Liliana Marie Prikler, 2022/04/13
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/13
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Maxime Devos, 2022/04/13
bug#54893: [PATCH] guix: git-download: Set locale to deal with Unicode in git metadata., Attila Lendvai, 2022/04/19
- Prev by Date:
bug#54658: "pypi->guix-package, no wheel" test fails
- Next by Date:
bug#54893: guix-daemon, locale, LANG, and unicode in git tag names
- Previous by thread:
bug#54893: guix-daemon, locale, LANG, and unicode in git tag names
- Next by thread:
bug#54893: guix-daemon, locale, LANG, and unicode in git tag names
- Index(es):