From fc2263390a2e9cf111ce7afd7a69a2dad866f21a Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Tue, 2 Jul 2024 08:39:02 +0200 Subject: [PATCH] Remove arch chcek from beleth recipe in justfile --- justfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/justfile b/justfile index 592b995..cf536c7 100644 --- a/justfile +++ b/justfile @@ -17,14 +17,14 @@ rebuild: beleth: #!/usr/bin/env bash set -euxo pipefail - arch=$(nix-instantiate --eval -E 'builtins.currentSystem') - arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//') - if [ $arch_sanitized == "x86_64-linux" ]; then - nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}}; - ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh"; - exit - fi - @echo "Host arch needs to be 'x86_64-linux'! Aborting..."; + # arch=$(nix-instantiate --eval -E 'builtins.currentSystem') + # arch_sanitized=$(echo $arch | sed 's/^"//;s/"$//') + # if [ $arch_sanitized == "x86_64-linux" ]; then + nixos-rebuild switch --flake '.#beleth' --build-host {{beleth-host}} --target-host {{beleth-host}}; + ssh {{beleth-user-host}} "cd; cd nixos-config; git pull; cd; sh build_website.sh"; + exit + # fi + # @echo "Host arch needs to be 'x86_64-linux'! Aborting..."; update: nix flake update