From 08c87b5f23f4a542b5d860303ca8ccfce847f6b8 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 17 Aug 2024 22:48:18 -0500 Subject: [PATCH] Fix update script & update channels --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;