guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphical Installer - Call for Testing.


From: Ludovic Courtès
Subject: Re: Graphical Installer - Call for Testing.
Date: Fri, 07 Jul 2017 13:37:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> Hydra does (system-disk-image installation-os
>                                           #:disk-image-size
>                                           (* 1024 MiB))))).
>
> Try doing the same in the Guile interpreter, like so:
>
> guile -L .
> ,use (gnu system vm)
> ,use (gnu system install)
> (system-disk-image installation-os #:disk-image-size (* 1024 MiB)))))

BTW, the default value of #:disk-image-size is now 'guess, and, if
everything goes well, it should compute a correct estimate of the image
size.  So I’d encourage you to rely on it (and to adjust the heuristics
of the estimate turns out to be wrong :-)).

> But I think that's a monadic value and one would still call run-with-store 
> with some store and the result?

Yes.  At the REPL, you can do:

  ,use(guix)
  ,run-in-store (system-disk-image installation-os)

HTH!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]