[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: |
Tue, 19 Apr 2022 17:45:39 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Attila Lendvai schreef op di 19-04-2022 om 11:38 [+0000]:
> > thank you, this works indeed as a band aid:
> >
> > (setenv "GUIX_LOCPATH" #+(file-append glibc-locales "/lib/locale"))
> > (setlocale LC_ALL "en_US.utf8")
>
>
> i spoke too early. this works in a git checkout of guix, but it fails
> to compile when i try to guix pull it.
>
> even if i declare the dependency like this:
>
> #:autoload (gnu packages base) (glibc-locales)
>
> IIUC, this is due to a circular dependency: glibc-locales (and its
> variants) depend on git-fetch, therefore i cannot refer to them from
> the implementation of git-fetch.
The module of the glibc-locales package depends on git-fetch, but I
don't think the package glibc-locales does. Anyway, circular imports
are messy and (guix build-system ...) and (guix git-download) use an
extra-lazy variant of #:autoload that doesn't load the module even when
compiling (*).
(*) Limitation: this method cannot be used to use macros.
Maybe the attached variant works?
Greetings,
Maxime.
diff.diff
Description: Text Data
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, 2022/04/13
- 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 <=
- 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
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Ludovic Courtès, 2022/04/20
- bug#54893: guix-daemon, locale, LANG, and unicode in git tag names, Ludovic Courtès, 2022/04/20