Fix argument passing in __yay_rebuild function for host flag

This commit is contained in:
Chris Toph 2025-04-30 00:57:12 -04:00
parent 9204ebe903
commit 92d557d0d0

View file

@ -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