From 92d557d0d0393713cb57a970e880efafe6cc2b41 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Wed, 30 Apr 2025 00:57:12 -0400 Subject: [PATCH] Fix argument passing in __yay_rebuild function for host flag --- functions/__yay_rebuild.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/__yay_rebuild.fish b/functions/__yay_rebuild.fish index 4b57918..2ab83a1 100644 --- a/functions/__yay_rebuild.fish +++ b/functions/__yay_rebuild.fish @@ -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 \ No newline at end of file