From 75b62929045e606b3a18c88c208cbaad349dd5d7 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 16 May 2025 19:52:20 +0300 Subject: [PATCH] rebuild: fix warning --- rebuild.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebuild.nu b/rebuild.nu index 2576eb5..6e93cb5 100755 --- a/rebuild.nu +++ b/rebuild.nu @@ -17,7 +17,7 @@ def main --wrapped [ ...arguments # The arguments to pass to `nh {os,darwin} switch` and `nix` (separated by --). ]: nothing -> nothing { let host = if ($host | is-not-empty) { - if $host != (hostname) { + if $host != (hostname) and not $remote { print $"(ansi yellow_bold)warn:(ansi reset) building local configuration for hostname that does not match the local machine" }