nixos/manual: use system nixpkgs to build pxe image
The command in example is expected to be run from nixpkgs checkout, but
there's no explanation of this. Let's just use system nixpkgs: most
users will have it just working and those who use git checkouts will
figure it out.
commit29fd78747ae72b28d06bf19df2b8faf2a1d9a7eb
authorNikolay Amiantov <ab@fmap.me>
dateMon 14 Feb 2022, 19:36 (5 years ago)
parent7852ea1
nixos/doc/manual/from_md/installation/installing-pxe.section.xml+2−2
@@ -7,11 +7,11 @@
77 <para>
88 These instructions assume that you have an existing PXE or iPXE
99 infrastructure and simply want to add the NixOS installer as another
10− option. To build the necessary files from a recent version of
10+ option. To build the necessary files from your current version of
1111 nixpkgs, you can run:
1212 </para>
1313 <programlisting>
14−nix-build -A netboot.x86_64-linux nixos/release.nix
14+nix-build -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'
1515</programlisting>
1616 <para>
1717 This will create a <literal>result</literal> directory containing: *
nixos/doc/manual/installation/installing-pxe.section.md+2−2
@@ -5,11 +5,11 @@ setup.
55
66These instructions assume that you have an existing PXE or iPXE
77infrastructure and simply want to add the NixOS installer as another
8−option. To build the necessary files from a recent version of nixpkgs,
8+option. To build the necessary files from your current version of nixpkgs,
99you can run:
1010
1111```ShellSession
12−nix-build -A netboot.x86_64-linux nixos/release.nix
12+nix-build -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'
1313```
1414
1515This will create a `result` directory containing: \* `bzImage` -- the