patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Alyssa Ross <alyssa.ross@unikie.com>
To: Valentin Kharin <valentin.kharin@unikie.com>
Cc: devel@spectrum-os.org
Subject: Re: [PATCH 2/2] Documentation: flakes
Date: Wed, 21 Dec 2022 11:21:37 +0000	[thread overview]
Message-ID: <20221221112137.kd3qp5sezmqqqfma@x220> (raw)
In-Reply-To: <20221214110954.141676-2-valentin.kharin@unikie.com>

[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]

On Wed, Dec 14, 2022 at 01:09:54PM +0200, Valentin Kharin wrote:
> Signed-off-by: Valentin Kharin <valentin.kharin@unikie.com>

Reviewed-by: Alyssa Ross <alyssa.ross@unikie.com>

(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
>
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-12-21 11:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 11:09 [PATCH 1/2] Add flakes support Valentin Kharin
2022-12-14 11:09 ` [PATCH 2/2] Documentation: flakes Valentin Kharin
2022-12-21 11:21   ` Alyssa Ross [this message]
2022-12-21 11:19 ` [PATCH 1/2] Add flakes support Alyssa Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221221112137.kd3qp5sezmqqqfma@x220 \
    --to=alyssa.ross@unikie.com \
    --cc=devel@spectrum-os.org \
    --cc=valentin.kharin@unikie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).