Skip to content

Commit da33388

Browse files
committed
Enable nix flake deps update step in upgrade dependencies runbook
1 parent a658c03 commit da33388

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/runbook/upgrade-repository-dependencies/upgrade_dependencies.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@ mkdir -p "$TMP_SCRIPT_DIR"
8282
echo "git config --global --add safe.directory '*'
8383
nix --extra-experimental-features 'nix-command flakes' flake update" > "$TMP_SCRIPT_DIR/$FLAKE_UPDATE_SCRIPT"
8484

85-
# The nix update is deactivated while waiting to be compatible with the latest version
86-
# # Upgrade Nix Flake dependencies
87-
# docker run -v "$(pwd)":/mithril -v "$TMP_SCRIPT_DIR":/scripts/mithril -w /mithril nixos/nix /bin/sh -c ". /scripts/mithril/$FLAKE_UPDATE_SCRIPT"
88-
# rm "$TMP_SCRIPT_DIR/$FLAKE_UPDATE_SCRIPT"
89-
#
90-
# git commit -am "chore: update nix flake dependencies
91-
# 
92-
# By running 'nix flake update' command."
85+
# Upgrade Nix Flake dependencies
86+
docker run -v "$(pwd)":/mithril -v "$TMP_SCRIPT_DIR":/scripts/mithril -w /mithril nixos/nix /bin/sh -c ". /scripts/mithril/$FLAKE_UPDATE_SCRIPT"
87+
rm "$TMP_SCRIPT_DIR/$FLAKE_UPDATE_SCRIPT"
88+
89+
git commit -am "chore: update nix flake dependencies
90+
91+
By running 'nix flake update' command."

0 commit comments

Comments
 (0)