Merge pull request #182233 from symphorien/doc-iso-branch
nixos/doc: don't advise to build master
This commit is contained in:
commit
063996d291
2 changed files with 8 additions and 0 deletions
|
@ -33,9 +33,14 @@
|
|||
</para>
|
||||
<section xml:id="sec-building-image-instructions">
|
||||
<title>Practical Instructions</title>
|
||||
<para>
|
||||
To build an ISO image for the channel
|
||||
<literal>nixos-unstable</literal>:
|
||||
</para>
|
||||
<programlisting>
|
||||
$ 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
|
||||
</programlisting>
|
||||
<para>
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue