1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

rebuild: fix warning

This commit is contained in:
RGBCube 2025-05-16 19:52:20 +03:00
parent ace6ac9ba4
commit 75b6292904
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -17,7 +17,7 @@ def main --wrapped [
...arguments # The arguments to pass to `nh {os,darwin} switch` and `nix` (separated by --). ...arguments # The arguments to pass to `nh {os,darwin} switch` and `nix` (separated by --).
]: nothing -> nothing { ]: nothing -> nothing {
let host = if ($host | is-not-empty) { 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" print $"(ansi yellow_bold)warn:(ansi reset) building local configuration for hostname that does not match the local machine"
} }