From: Maxime Devos <maximedevos@telenet.be>
To: Attila Lendvai <attila@lendvai.name>
Cc: 54893@debbugs.gnu.org
Subject: bug#54893: guix-daemon, locale, LANG, and unicode in git tag names
Date: Wed, 13 Apr 2022 10:03:00 +0200 [thread overview]
Message-ID: <0ce6f8b91cdd2979ec7dc74fc8e4eef68d2c7e42.camel@telenet.be> (raw)
In-Reply-To: <4sSjKaCcadx8brYQC5HZuP-SyMku3BlXRTZwaCUH13qSv01N33lk9vyUWzzE6R889ZuQRpI_6Pl4Q_51v8jMhUhwh6f9rly5h0EhlUqHG80=@lendvai.name>
[-- Attachment #1: Type: text/plain, Size: 963 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2022-04-13 8:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-12 19:47 bug#54893: guix-daemon, locale, LANG, and unicode in git tag names Attila Lendvai
2022-04-12 20:40 ` Maxime Devos
2022-04-13 7:51 ` Attila Lendvai
2022-04-13 8:03 ` Maxime Devos [this message]
2022-04-13 8:45 ` Attila Lendvai
2022-04-19 11:38 ` Attila Lendvai
2022-04-19 15:45 ` Maxime Devos
2022-04-19 16:07 ` Maxime Devos
2022-04-13 8:22 ` Maxime Devos
2022-04-13 10:40 ` Liliana Marie Prikler
2022-04-13 10:57 ` Maxime Devos
2022-04-13 8:29 ` Maxime Devos
2022-04-19 18:09 ` bug#54893: [PATCH] guix: git-download: Set locale to deal with Unicode in git metadata Attila Lendvai
2022-04-20 20:12 ` bug#54893: guix-daemon, locale, LANG, and unicode in git tag names Ludovic Courtès
2022-04-20 22:15 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ce6f8b91cdd2979ec7dc74fc8e4eef68d2c7e42.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=54893@debbugs.gnu.org \
--cc=attila@lendvai.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.