Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/man-home-manager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@
--no-out-link
</arg>

<arg>
--refresh
</arg>

<arg>
<group choice="req">
<arg choice="plain">
Expand Down Expand Up @@ -611,6 +615,18 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--refresh</option>
</term>
<listitem>
<para>
Passed on to <citerefentry>
<refentrytitle>nix-build</refentrytitle>
<manvolnum>1</manvolnum> </citerefentry>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-v</option>
Expand Down
2 changes: 1 addition & 1 deletion home-manager/completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ _home-manager_completions ()
"-L" "--print-build-logs" \
"--show-trace" "--substitute" "--builders" "--version" \
"--update-input" "--override-input" "--experimental-features" \
"--extra-experimental-features" )
"--extra-experimental-features" "--refresh")

# ^ « home-manager »'s options.

Expand Down
1 change: 1 addition & 0 deletions home-manager/completion.fish
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ complete -c home-manager -f -l "update-input"
complete -c home-manager -f -l "override-input"
complete -c home-manager -f -l "experimental-features"
complete -c home-manager -f -l "extra-experimental-features"
complete -c home-manager -f -l "refresh" -d "Consider all previously downloaded files out-of-date"
1 change: 1 addition & 0 deletions home-manager/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ case "$state" in
'--show-trace[show trace]' \
'--substitute[substitute]' \
'--builders[builders]:SPEC:()' \
'--refresh[refresh]' \
'--override-input[override flake input]:NAME VALUE:()' \
'--update-input[update flake input]:NAME:()' \
'--experimental-features[set experimental Nix features]:VALUE:()' \
Expand Down
3 changes: 2 additions & 1 deletion home-manager/home-manager
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ function doHelp() {
echo " --no-out-link Do not create a symlink to the output path"
echo " --no-write-lock-file"
echo " --builders VALUE"
echo " --refresh Consider all previously downloaded files out-of-date"
echo
echo "Commands"
echo
Expand Down Expand Up @@ -628,7 +629,7 @@ while [[ $# -gt 0 ]]; do
FLAKE_ARG="$1"
shift
;;
--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file)
--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file|--refresh)
PASSTHROUGH_OPTS+=("$opt")
;;
--update-input)
Expand Down