Ludovic Courtès 1d4ab335b2
self: Use a 'guile' that doesn't complain about locales.
Since commit ba48895899a117d6ace2209c3f54411a4a989133, selected UTF-8
locales are bundled.  However, because 'guix-command' is itself a Guile
script, users would still see Guile's warning, particularly on foreign
distros:

  $ LC_ALL=sdf guix foo
  guile: warning: failed to install locale
  hint: Consider installing the `glibc-utf8-locales' [...]

User commands would print that warning, but more importantly, each
invocation of 'guix substitute' would print it, even though
'guix-daemon.service' explicitly chooses "en_US.utf8", which is in
'glibc-utf8-locales'.  This leads to confusion since users would keep
seeing this message unless/until they realize they also need to install
'glibc-utf8-locales' in root's profile.

This patch gets rid of "guile: warning: ..." for a guix-pulled 'guix'
command.

* guix/self.scm (specification->package): Add "gcc-toolchain".
(quiet-guile): New procedure.
(guix-command): Use it.
* gnu/packages/aux-files/guile-launcher.c: New file.
* Makefile.am (AUX_FILES): Add it.
2020-10-05 23:19:19 +02:00
..
2019-12-15 00:34:05 +01:00
2020-07-05 03:15:08 +05:30
2020-07-05 16:07:59 +05:30
2020-07-20 23:25:10 +02:00
2020-09-06 15:40:54 +02:00
2020-04-17 23:36:47 +02:00
2020-05-11 23:30:55 +02:00
2020-10-02 08:11:38 +02:00