From 479016420fe908c777747fc44d1f8ae338f8a5de Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 26 Nov 2026 22:38:25 +0100 Subject: {flake,pkgs/update_pkgs.sh}: Use main devShell for updating the pkgs --- flake.nix | 1 + pkgs/update_pkgs.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 56db66c..1b092fc 100644 --- a/flake.nix +++ b/flake.nix @@ -140,6 +140,7 @@ # Development of local stuff packageSets.unstable.python3 packageSets.unstable.cargo + packageSets.unstable.cargo-edit ]; }; diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh index d447889..230cb6a 100755 --- a/pkgs/update_pkgs.sh +++ b/pkgs/update_pkgs.sh @@ -30,8 +30,8 @@ fd . --type directory --max-depth 1 | while read -r shard; do if [ -x update.sh ]; then printf " \033[34;1m> \033[0m\033[34;1m%s\033[0m\n" "Running '${shard}${package}update.sh' .." - direnv allow - eval "$(direnv export bash 2>/dev/null)" + # direnv allow + # eval "$(direnv export bash 2>/dev/null)" ./update.sh "$@" fi cd - >/dev/null || die "Bug: Last dir does not exist" -- cgit v1.3.1