diff --git a/update.sh b/update.sh index 5d8aaa0..26ab74c 100755 --- a/update.sh +++ b/update.sh @@ -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;