Hi,

I have two questions.

First, I wonder why not:

diff --git a/gnu/installer.scm b/gnu/installer.scm
index adc891e4eb4..d155ea0f0d9 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -379,7 +379,7 @@ (define* (installer-program #:key dry-run? 
(guix-for-installer (current-guix)))
     ;; Initialize gettext support, so that installer messages can be
     ;; translated.
     #~(begin
-        (bindtextdomain "guix" (string-append #$guix "/share/locale"))
+        (bindtextdomain "guix" (string-append #$guix-for-installer 
"/share/locale"))
         (textdomain "guix")
         (setlocale LC_ALL "")))
 
Second, I wonder how good or bad, feasible/easy or not to cut every
other references to (@ (gnu packages package-management) guix). See
`guix gc -R xxx-image.iso | grep guix-1.5`.

I can only think of another one:

The use of 'examples/bare-bones.tmpl'
(https://codeberg.org/guix/guix/src/commit/83274a1d4c6d51c399d1b86ba1398e7e73605fbf/gnu/system/install.scm#L456)
which brings `guix-service-type` which uses this aforementioned guix.

The purpose of this is explained below in this file in a comment before
the `gc-root-service-type`:

> ;; Keep a reference to BARE-BONES-OS to make sure it can be
> ;; installed without downloading/building anything.  Also keep the
> ;; things needed by 'profile-derivation' to minimize the amount of
> ;; download.

So, the real use for keeping a reference to `bare-bones-os`, IIUC, is
for the final phase of the installer, when `guix system init` is run,
with a configuration generated that uses `%base-service`
(https://codeberg.org/guix/guix/src/commit/83274a1d4c6d51c399d1b86ba1398e7e73605fbf/gnu/installer/services.scm#L213)
which brings `guix-service-type` which uses this aforementioned guix...

Replacing guix with (current-guix) in `bare-bones-os` is easy, it's not
that easy for the other part I guess.

Currently, when booting the installed system, you end up with a `guix
describe` commit being older than `guix system describe`, which might
seem odd.

All this might not be that important and worth the effort?

WDYT?

Thanks.

yarl




Reply via email to