From aaa6f284982e75712718ea5bbb5ce081279c8d28 Mon Sep 17 00:00:00 2001 From: maralorn Date: Mon, 6 Mar 2023 19:19:28 +0100 Subject: [PATCH] Fix update-system --- overlays/update-system.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/update-system.nix b/overlays/update-system.nix index 39abddef..130e2ad3 100644 --- a/overlays/update-system.nix +++ b/overlays/update-system.nix @@ -2,7 +2,7 @@ final: _: { updateSystem = final.writeShellScriptBin "update-system" '' set -e remote_host=$1 - host=''${remote_host:-$(hostName)} + host=''${remote_host:-$(hostname)} echo "Building configuration for $host …" output=$(nom build --builders @$(builders-configurator) /home/maralorn/git/config#nixosConfigurations.$host.config.system.build.toplevel --no-link --print-out-paths) if [[ -z "$remote_host" ]]; then