From 6111416364c792690fd29dc4fd76ed2fd925b2a5 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 6 Dec 2024 16:32:49 -0500 Subject: [PATCH] Bin: fix NOS script (damn it shellcheck) --- bin/nixos-operations-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nixos-operations-script.sh b/bin/nixos-operations-script.sh index b14ef6c..bfca4d1 100755 --- a/bin/nixos-operations-script.sh +++ b/bin/nixos-operations-script.sh @@ -98,11 +98,11 @@ options="--flake ${flakeDir}#${hostname} ${remainingArgs} --use-remote-sudo --lo if [[ -n "${buildHost}" && "$operation" != "build" && "$operation" != *"dry"* ]]; then echo "Remote build detected, running this operation first: nixos-rebuild build ${options} --build-host $buildHost" - /run/current-system/sw/bin/nixos-rebuild build "$options" --build-host "$buildHost" + /run/current-system/sw/bin/nixos-rebuild build $options --build-host $buildHost echo "Remote build complete!" fi echo "Running this operation: nixos-rebuild ${operation} ${options}" -/run/current-system/sw/bin/nixos-rebuild "$operation" "$options" +/run/current-system/sw/bin/nixos-rebuild $operation $options exit 0