Danny Milosavljevic <dan...@scratchpost.org> 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’.