Remove rebuild before building in case it failed before

This commit is contained in:
Lillian Violet 2024-02-29 14:42:30 +01:00
parent 0c7363557b
commit 201f6eccd9

View file

@ -13,6 +13,7 @@ writeShellApplication
# A rebuild script for NixOS # A rebuild script for NixOS
set -e set -e
pushd /tmp pushd /tmp
rm -rf ./rebuild
git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./rebuild git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./rebuild
pushd ./rebuild pushd ./rebuild
echo "NixOS Rebuilding..." echo "NixOS Rebuilding..."