From 1343164249a4caaf6f7c982f6e768539b33ddb0c Mon Sep 17 00:00:00 2001 From: WORLDofPEACE Date: Mon, 28 Sep 2020 06:15:45 -0400 Subject: [PATCH 1/2] nixos-rebuild: add impure --- nixos/modules/installer/tools/nixos-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh index 08813d17ff99..e452e24d263d 100644 --- a/nixos/modules/installer/tools/nixos-rebuild.sh +++ b/nixos/modules/installer/tools/nixos-rebuild.sh @@ -68,7 +68,7 @@ while [ "$#" -gt 0 ]; do j="$1"; shift 1 extraBuildFlags+=("$i" "$j") ;; - --show-trace|--keep-failed|-K|--keep-going|-k|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback|--repair|--no-build-output|-Q|-j*|-L|--refresh|--no-net) + --show-trace|--keep-failed|-K|--keep-going|-k|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback|--repair|--no-build-output|-Q|-j*|-L|--refresh|--no-net|--impure) extraBuildFlags+=("$i") ;; --option) From 3ad3041918cdde96ddda60fc0950a13c7d48f954 Mon Sep 17 00:00:00 2001 From: WORLDofPEACE Date: Mon, 28 Sep 2020 19:41:05 -0400 Subject: [PATCH 2/2] doc/nixos-rebuild(8): add Nix --impure option to summary --- nixos/doc/manual/man-nixos-rebuild.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml index 1fd3a1c56648..d0ff81c1dbb3 100644 --- a/nixos/doc/manual/man-nixos-rebuild.xml +++ b/nixos/doc/manual/man-nixos-rebuild.xml @@ -118,6 +118,11 @@ + + + + + @@ -564,7 +569,7 @@ In addition, nixos-rebuild accepts various Nix-related flags, including / , , , - and / + , , and / . See the Nix manual for details.