summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-29 23:12:43 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-29 23:12:43 +0200
commit6d717b2da78f904516b5a598bb4ca46178c39096 (patch)
treeb4c9a20b5815dff8fd4435e0317f2ca49a87ec31
parentFix jitsi? (diff)
downloadRory-Open-Architecture-6d717b2da78f904516b5a598bb4ca46178c39096.tar.xz
rebuild-wsl: do not try to deploy if build fails
-rwxr-xr-xrebuild-wsl.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/rebuild-wsl.sh b/rebuild-wsl.sh
index afa93ef..7c095a6 100755
--- a/rebuild-wsl.sh
+++ b/rebuild-wsl.sh
@@ -9,6 +9,5 @@ if [ -d "nixpkgs" ]; then
 fi
 
 nix flake update
-nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel
-sudo nixos-rebuild switch --flake .#${HOSTNAME}
+nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel && sudo nixos-rebuild switch --flake .#${HOSTNAME}
 #./build.sh / $HOSTNAME