Subject: [bug#73927] [PATCH 16/16] DRAFT installer: Support dry-run from Guile via store.

From: <[email-masked]>
Date: Tue, 22 Oct 2024 10:21:29 +0200

Mathieu Othacehe writes:

Hello Mathieu,

>> This supports running the installer quasi-directly from Guile by only building
>> a Guile installer-script in the store.  Do something like:
>>
>>     ./pre-inst-env guile -c '((@ (gnu installer) run-installer) #:dry-run? #t)'
>>
>>     sudo -E ./pre-inst-env guile -c '((@ (gnu installer) run-installer))'
>
> I remember resorting to a similar hack, back in 2018 when writing the
> installer. Maybe we should go the extra mile and integrate that one to a
> proper guix command, such as `guix system installer` that would call
> `run-installer` with dry-run set to #t. WDYT?

Sure, sounds nice, and being able to run it with dry-run? #f is also
nice but I guess that would be doable :)

So you also don't see a way to move the installer-steps list out of the
gexp without adding the extra dependencies?

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <[email-masked]>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com