From b9962699889e8b61df146edc76d9f740382c8d58 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Wed, 20 Jul 2022 12:00:00 +0000 Subject: [PATCH] nixos/doc: don't advise to build master --- .../manual/from_md/installation/building-nixos.chapter.xml | 5 +++++ nixos/doc/manual/installation/building-nixos.chapter.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/nixos/doc/manual/from_md/installation/building-nixos.chapter.xml b/nixos/doc/manual/from_md/installation/building-nixos.chapter.xml index e7a76a6d715d..ea2d01bebcc2 100644 --- a/nixos/doc/manual/from_md/installation/building-nixos.chapter.xml +++ b/nixos/doc/manual/from_md/installation/building-nixos.chapter.xml @@ -33,9 +33,14 @@
Practical Instructions + + To build an ISO image for the channel + nixos-unstable: + $ git clone https://github.com/NixOS/nixpkgs.git $ cd nixpkgs/nixos +$ git switch nixos-unstable $ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix diff --git a/nixos/doc/manual/installation/building-nixos.chapter.md b/nixos/doc/manual/installation/building-nixos.chapter.md index 27d7e1d38553..17da261fbdaa 100644 --- a/nixos/doc/manual/installation/building-nixos.chapter.md +++ b/nixos/doc/manual/installation/building-nixos.chapter.md @@ -18,9 +18,12 @@ enforced values with `mkForce`. ## Practical Instructions {#sec-building-image-instructions} +To build an ISO image for the channel `nixos-unstable`: + ```ShellSession $ git clone https://github.com/NixOS/nixpkgs.git $ cd nixpkgs/nixos +$ git switch nixos-unstable $ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix ```