From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 9A43DC239; Wed, 21 Dec 2022 11:21:42 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 8E3AFC1A7; Wed, 21 Dec 2022 11:21:40 +0000 (UTC) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by atuin.qyliss.net (Postfix) with ESMTPS id C24CFC235 for ; Wed, 21 Dec 2022 11:21:38 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id tz12so36040520ejc.9 for ; Wed, 21 Dec 2022 03:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=l9g22xF3Lul5++vwO28dk9dNAiYW11hVPY5ox81rXDw=; b=aygcLeRZeC5FNENSGGeOC8UyDNqx3JhpboJiGB0X2TFTkdGF9QDUV9uj8qpV/VIY6a A1Q5GRlEs9EKdB2+N4+iduU5mTeyZyOWnpcyUj6kq55br8oKgc2EYUMM0CC8074/UFaj vJ/r2GQKhKCMg5qztZJ6HUKwpzIww+UEnfoxR3E8X8WQFb0dWbeb6T4xLjchYGhbH2D3 LbxQ+YPC5X1DnYnzgujw4rvcEGEeKLwR7mTuU6XKHZKM4beU+l+d+rk3UoUYIoPjJJvB BhJ9RdkJfIQSOuUAoInYUdAlU1jkwySvH4f/c3qmO1fs/RfhP0oRxtmNSjGh7Tpo1UiW wrTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l9g22xF3Lul5++vwO28dk9dNAiYW11hVPY5ox81rXDw=; b=ZwuJb+wkNanXD6kfeleVYmTMvZ890Md+hlZ8hoTrNeV+Xw/3giyvv3sQqDy7zW2g6A l+vuAQ/C7vEMcJ4D21LgmD1ii6357Dz/OWFCipgpWtyk+e4RNIYQeGDwC0hG6w6yggQk KJqQwcJtPwjObkO8MvdNlcMjOUhmEtqbOKTuHjF5EduSG2NmK8inx0Mc4rZ79yQXlqsR A7VKrLdr7831zUHamlEpnMqu79MsgFQXw9cBdj2llzXk/X4MNOnza8ph8Eik+BgQGSK/ vJoKkMsuloz+AXxVNO1W27LYZ/tX5PywTn/xrjSirBy58qYMsvApn8a/YUwljhG4z68K aF0w== X-Gm-Message-State: AFqh2kqvrJMqedGHsZ2yUkMnNHQJYPkuQ1h7GQXRtgSiGy8gf0m3y/yw 5lvL2F4FkLeETxI0Qhk6bYUXjiznjD2CManl X-Google-Smtp-Source: AMrXdXtOdNx9URQtCABwqou+2nEIqUY4tr/rG+6ly7ZALce3Fd+qTveOSsUhOVbatwpPa0manvBkIg== X-Received: by 2002:a17:907:6e05:b0:7c1:235d:2a2b with SMTP id sd5-20020a1709076e0500b007c1235d2a2bmr1401792ejc.24.1671621697849; Wed, 21 Dec 2022 03:21:37 -0800 (PST) Received: from x220.qyliss.net (p200300ed671036010000000000000006.dip0.t-ipconnect.de. [2003:ed:6710:3601::6]) by smtp.gmail.com with ESMTPSA id u18-20020a1709061db200b0083f91a32131sm344000ejh.0.2022.12.21.03.21.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Dec 2022 03:21:37 -0800 (PST) Received: by x220.qyliss.net (Postfix, from userid 1000) id 2E5F92A6; Wed, 21 Dec 2022 11:21:37 +0000 (UTC) Date: Wed, 21 Dec 2022 11:21:37 +0000 From: Alyssa Ross To: Valentin Kharin Subject: Re: [PATCH 2/2] Documentation: flakes Message-ID: <20221221112137.kd3qp5sezmqqqfma@x220> References: <20221214110954.141676-1-valentin.kharin@unikie.com> <20221214110954.141676-2-valentin.kharin@unikie.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nwz6va364izblzkz" Content-Disposition: inline In-Reply-To: <20221214110954.141676-2-valentin.kharin@unikie.com> Message-ID-Hash: 6GOYVYKLN4BZZLV366EFRQJ6XCOSH7WK X-Message-ID-Hash: 6GOYVYKLN4BZZLV366EFRQJ6XCOSH7WK X-MailFrom: alyssa.ross@unikie.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-0 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1 CC: devel@spectrum-os.org X-Mailman-Version: 3.3.5 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --nwz6va364izblzkz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 14, 2022 at 01:09:54PM +0200, Valentin Kharin wrote: > Signed-off-by: Valentin Kharin Reviewed-by: Alyssa Ross (There are some minor e.g. spelling mistakes but I can just fix those up when I apply it.) > --- > .../installation/getting-spectrum.adoc | 20 +++++++++++++++++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > > diff --git a/Documentation/installation/getting-spectrum.adoc b/Documentation/installation/getting-spectrum.adoc > index 6aec34f..ec13145 100644 > --- a/Documentation/installation/getting-spectrum.adoc > +++ b/Documentation/installation/getting-spectrum.adoc > @@ -22,6 +22,13 @@ If you want to try Spectrum out to get a feel for it, without > installing it, you can run it in a development VM with some example > applications. > > +This builds just enough of Spectrum to try it out in a VM, but it will > +still take a very long time. > + > +You can use one of the following methods to build Spectrum. > + > +=== Default > + > [source,shell] > ---- > git clone https://spectrum-os.org/git/spectrum > @@ -32,8 +39,17 @@ cd spectrum/host/rootfs > nix-shell -I nixpkgs=../../../nixpkgs-spectrum --run 'make run' > ---- > > -This builds just enough of Spectrum to try it out in a VM, but it will > -still take a very long time. > +=== Flakes > + > +Flakes is more hermetic, fast, and reproducable way of building. > + > +[source,shell] > +---- > +git clone https://spectrum-os.org/git/spectrum && cd spectrum > +nix develop .#rootfs && cd host/rootfs/ && make run > +---- > + > +For more information on flakes, see https://nixos.wiki/wiki/Flakes[NixOS Wiki]. > > == Building Installer > > -- > 2.38.1 > > --nwz6va364izblzkz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAmOi7D8ACgkQ+dvtSFmy ccDTbA//SijpJIuGxDZVxNWwJQ08YasEdvtY9X6iHyRZOWeI83ZQ7UVS60bD1z47 n4SyN8I6nmoUqOyeHzYIy4o4khOHPpfzSMjBgqvNBX0pkZV+QWlMsu9G1H56nsr7 BNdWWufQtL9ZDOxe5N9Bvp2vjHtpGz8BqdkHJl1bvzJ/bMXalAFGTtmSABU5/+QH ryami/GeO2fiKuVu22687QfkipDZMKDdmC8SLusnuyajHdbLhbXC5sXDpDLdWtDH Sg/D4oH//4nViwVZKeEk/CsbB+BLPH/0lRv0+teMnaybbJuZHfb58YZzL86E1w+0 uzJCWjST31skJDe9SwTc+0oHkz2vU0A89V8H/+6PS1meA3Efp/7rtHVq7hirG/P+ r6qsNxIuKbOCwg94O6rVzERnXFBmQVPlHwsvG+MhDOLsEv+at6R3rc5xdWnc+yiN 6Llz//JubQeESY4CRICE21Gtm5fql/YUl7DL0KDmx3v9LsTzTTagVUSrPn+k/g0N NMVTqMy8UnIzGBvnjLhIBMPV71OEwBdNw3WPqy1bzfDUbfneYrg1pc2oL2w2MHW9 p5Y1bn5TZgtACQBnnOuYDFPSOMcEZtQYSN+rqZnX+vubc51tFKuZBAg54DJbmdB3 wvdHlKfsiq0SegTWhXQCIvs6KiPMJkqAC+Ml0M3yfw+o0cSIIt0= =GHbv -----END PGP SIGNATURE----- --nwz6va364izblzkz--