Skip to content

Commit

Permalink
Desactivated theNix update
Browse files Browse the repository at this point in the history
  • Loading branch information
sfauvel authored and Alenar committed Sep 6, 2024
1 parent 4d1a95e commit 52c9a94
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ mkdir -p "$TMP_SCRIPT_DIR"
echo "git config --global --add safe.directory '*'
nix --extra-experimental-features 'nix-command flakes' flake update" > "$TMP_SCRIPT_DIR/$FLAKE_UPDATE_SCRIPT"

# Upgrade Nix Flake dependencies
docker run -v "$(pwd)":/mithril -v "$TMP_SCRIPT_DIR":/scripts/mithril -w /mithril nixos/nix /bin/sh -c ". /scripts/mithril/$FLAKE_UPDATE_SCRIPT"
rm "$TMP_SCRIPT_DIR/$FLAKE_UPDATE_SCRIPT"

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

0 comments on commit 52c9a94

Please sign in to comment.