Fix update script & update channels

This commit is contained in:
Emmet 2024-08-17 22:48:18 -05:00
parent 3c92330eaf
commit 08c87b5f23

View file

@ -6,4 +6,8 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# Update flake
sudo nix flake update $SCRIPT_DIR;
pushd $SCRIPT_DIR &> /dev/null;
sudo nix flake update;
sudo nix-channel --update;
nix-channel --update;
popd &> /dev/null;