Hi,
> Heheh. Another option would be to pass the locale name to the installer > right from (gnu system install). That way, if people want to build an > image with a different default locale, they can do it. > > Fundamentally though, it’s the installer’s job to offer a choice of > languages early on, which it does pretty well already! Ok you convinced me, I'll just call 'setlocale' at installer start, this is less dirty. > I think we want to distribute (gnu installer …) modules, just not build > them. The thing is, they should be “build-side only” modules, and thus > we don’t need to compile them; it’s like (guix man-db), for instance. > > So I think gnu/installer/*.scm could go in the *system-modules* node as > #:extra-files. > > Does that make sense? Yes I understand now. The idea of using only build code is quite nice, it simplifies a lot of things. So now, (gnu install) is the tip of the iceberg and everything under gnu/installer/ is build side code (and set as #:extra-files of *system-modules* in (guix self)). I pushed a new commit on the branch to fix all of this, it seems ok now. Thanks for your help, Mathieu