From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Graphical Installer - Call for Testing. Date: Fri, 07 Jul 2017 13:37:14 +0200 Message-ID: <87inj4bhqt.fsf@gnu.org> References: <20170104075928.GA23509@jocasta.intra> <87eg07cybi.fsf@gmail.com> <20170113063511.GA18383@jocasta.intra> <20170705192731.5fdd6933@scratchpost.org> <87wp7k97io.fsf@gmail.com> <20170707081300.29503638@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTRZm-0003gF-D0 for guix-devel@gnu.org; Fri, 07 Jul 2017 07:37:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTRZj-00029I-8y for guix-devel@gnu.org; Fri, 07 Jul 2017 07:37:34 -0400 In-Reply-To: <20170707081300.29503638@scratchpost.org> (Danny Milosavljevic's message of "Fri, 7 Jul 2017 08:13:00 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org, John Darrington Danny Milosavljevic 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=E2=80=99d encourage you to rely on it (and to adjust the heuris= tics of the estimate turns out to be wrong :-)). > But I think that's a monadic value and one would still call run-with-stor= e 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=E2=80=99.