nixos/doc: don't advise to build master
This commit is contained in:
parent
753b3c2bc1
commit
b996269988
|
@ -33,9 +33,14 @@
|
||||||
</para>
|
</para>
|
||||||
<section xml:id="sec-building-image-instructions">
|
<section xml:id="sec-building-image-instructions">
|
||||||
<title>Practical Instructions</title>
|
<title>Practical Instructions</title>
|
||||||
|
<para>
|
||||||
|
To build an ISO image for the channel
|
||||||
|
<literal>nixos-unstable</literal>:
|
||||||
|
</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
$ git clone https://github.com/NixOS/nixpkgs.git
|
$ git clone https://github.com/NixOS/nixpkgs.git
|
||||||
$ cd nixpkgs/nixos
|
$ 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
|
$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -18,9 +18,12 @@ enforced values with `mkForce`.
|
||||||
|
|
||||||
## Practical Instructions {#sec-building-image-instructions}
|
## Practical Instructions {#sec-building-image-instructions}
|
||||||
|
|
||||||
|
To build an ISO image for the channel `nixos-unstable`:
|
||||||
|
|
||||||
```ShellSession
|
```ShellSession
|
||||||
$ git clone https://github.com/NixOS/nixpkgs.git
|
$ git clone https://github.com/NixOS/nixpkgs.git
|
||||||
$ cd nixpkgs/nixos
|
$ 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
|
$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue