Fix argument passing in __yay_rebuild function for host flag
This commit is contained in:
parent
9204ebe903
commit
92d557d0d0
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ function __yay_rebuild
|
|||
set orig (pwd)
|
||||
cd $flake_path
|
||||
if set -q _flag_trace
|
||||
__yay_run "nh os switch .#$host -- --impure --show-trace"
|
||||
__yay_run "nh os switch . -H $host -- --impure --show-trace"
|
||||
else
|
||||
__yay_run "nh os switch .#$host -- --impure"
|
||||
__yay_run "nh os switch . -H $host -- --impure"
|
||||
end
|
||||
cd $orig
|
||||
end
|
Loading…
Add table
Reference in a new issue