mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos-rebuild: add --impure flag
There are two use case for this flag: 1. NixOS developer usually use a nixpkgs checkout for development. Copying nixpkgs everytime when rebuilding NixOS is way to slow, even with NVME disks. 2. Folks migrating from impure configuration in a sufficient complex infrastructure need this flag to gradually migrate to NixOS flakes.
This commit is contained in:
parent
e1e412215d
commit
b8a19ca2bc
@ -121,6 +121,9 @@
|
||||
<arg>
|
||||
<option>--no-net</option>
|
||||
</arg>
|
||||
<arg>
|
||||
<option>--impure</option>
|
||||
</arg>
|
||||
<arg>
|
||||
<group choice='req'>
|
||||
<arg choice='plain'><option>--verbose</option></arg>
|
||||
@ -597,6 +600,10 @@
|
||||
<option>--keep-failed</option> / <option>-K</option>,
|
||||
<option>--keep-going</option> / <option>-k</option> and <option>--verbose</option> /
|
||||
<option>-v</option>. See the Nix manual for details.
|
||||
|
||||
The following Nix flags that are support by the upcoming nix 2.4 version:
|
||||
<option>-L</option>, <option>--refresh</option>, <option>--no-net</option>,
|
||||
<option>--no-net</option>, <option>--impure</option>. See <command>nix --help</command> or <command>nix build --help</command> for details.
|
||||
</para>
|
||||
</refsection>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user