From b8a19ca2bcff1de182bc7d161afe54de8985b31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 12 Aug 2020 06:52:32 +0100 Subject: [PATCH] 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. --- nixos/doc/manual/man-nixos-rebuild.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml index 2ab5f006b06b..4510fdd44225 100644 --- a/nixos/doc/manual/man-nixos-rebuild.xml +++ b/nixos/doc/manual/man-nixos-rebuild.xml @@ -121,6 +121,9 @@ + + + @@ -597,6 +600,10 @@ / , / and / . See the Nix manual for details. + + The following Nix flags that are support by the upcoming nix 2.4 version: + , , , + , . See nix --help or nix build --help for details.