diff --git a/docs/man-home-manager.xml b/docs/man-home-manager.xml
index 9b5224243..9f5374503 100644
--- a/docs/man-home-manager.xml
+++ b/docs/man-home-manager.xml
@@ -139,6 +139,10 @@
--debug
+
+ --impure
+
+
--keep-failed
@@ -492,6 +496,18 @@
+
+
+
+
+
+
+ Passed on to
+ nix-build
+ 1 .
+
+
+
diff --git a/home-manager/completion.bash b/home-manager/completion.bash
index 47907cffd..cf471d129 100644
--- a/home-manager/completion.bash
+++ b/home-manager/completion.bash
@@ -290,10 +290,10 @@ _home-manager_completions ()
#--------------------------#
local Options
- Options=( "-f" "--file" "-b" "-A" "-I" "-h" "--help" "-n" "--dry-run" "-v" "--verbose" \
- "--cores" "--debug" "--keep-failed" "--keep-going" "-j" "--max-jobs" \
- "--no-substitute" "--no-out-link" "--show-trace" "--substitute" \
- "--builders")
+ Options=( "-f" "--file" "-b" "-A" "-I" "-h" "--help" "-n" "--dry-run" "-v" \
+ "--verbose" "--cores" "--debug" "--impure" "--keep-failed" \
+ "--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \
+ "--show-trace" "--substitute" "--builders")
# ^ « home-manager »'s options.
diff --git a/home-manager/completion.fish b/home-manager/completion.fish
index be1e30749..ad38d276c 100644
--- a/home-manager/completion.fish
+++ b/home-manager/completion.fish
@@ -53,6 +53,7 @@ complete -c home-manager -x -l "arg" -d "Override inputs passed to home-manager.
complete -c home-manager -x -l "argstr" -d "Like --arg but the value is a string"
complete -c home-manager -x -l "cores" -d "Threads per job (e.g. -j argument to make)"
complete -c home-manager -x -l "debug"
+complete -c home-manager -x -l "impure"
complete -c home-manager -f -l "keep-failed" -d "Keep temporary directory used by failed builds"
complete -c home-manager -f -l "keep-going" -d "Keep going in case of failed builds"
complete -c home-manager -x -s j -l "max-jobs" -d "Max number of build jobs in parallel"
diff --git a/home-manager/completion.zsh b/home-manager/completion.zsh
index bb0cc537e..d0f0e2591 100644
--- a/home-manager/completion.zsh
+++ b/home-manager/completion.zsh
@@ -8,6 +8,7 @@ _arguments \
'-b[backup files]:EXT:()' \
'--cores[cores]:NUM:()' \
'--debug[debug]' \
+ '--impure[impure]' \
'--keep-failed[keep failed]' \
'--keep-going[keep going]' \
'(-h --help)'{--help,-h}'[help]' \
@@ -46,6 +47,7 @@ case "$state" in
_arguments \
'--cores[cores]:NUM:()' \
'--debug[debug]' \
+ '--impure[impure]' \
'--keep-failed[keep failed]' \
'--keep-going[keep going]' \
'--max-jobs[max jobs]:NUM:()' \
diff --git a/home-manager/home-manager b/home-manager/home-manager
index b60766348..44208f0e7 100644
--- a/home-manager/home-manager
+++ b/home-manager/home-manager
@@ -516,6 +516,7 @@ function doHelp() {
echo " --arg(str) NAME VALUE Override inputs passed to home-manager.nix"
echo " --cores NUM"
echo " --debug"
+ echo " --impure"
echo " --keep-failed"
echo " --keep-going"
echo " -j, --max-jobs NUM"
@@ -624,7 +625,7 @@ while [[ $# -gt 0 ]]; do
shift
;;
--debug|--keep-failed|--keep-going|--show-trace\
- |--substitute|--no-substitute)
+ |--substitute|--no-substitute|--impure)
PASSTHROUGH_OPTS+=("$opt")
;;
-v|--verbose)