GNU bug report logs - #73927
[PATCH 00/16] Installer support for (cross) installing the Hurd.

Previous Next

Package: guix-patches;

Reported by: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Date: Mon, 21 Oct 2024 08:15:02 UTC

Severity: normal

Tags: patch

Done: <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: <janneke <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 73927 <at> debbugs.gnu.org, Josselin Poiret <dev <at> jpoiret.xyz>, Ludovic Courtès <ludo <at> gnu.org>
Subject: [bug#73927] [PATCH 16/16] DRAFT installer: Support dry-run from Guile via store.
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 <janneke <at> gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com




This bug report was last modified 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.