From a5d05cf30e8f5d79689ff8cee3ed806a6ca1c00e Mon Sep 17 00:00:00 2001 From: ethernet Date: Tue, 9 Jun 2026 16:47:42 -0400 Subject: [PATCH] fix(nix); don't run .#fix-lockfiles its so slow --- nix/lib.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/lib.nix b/nix/lib.nix index 385fd84edf4..87d14a60189 100644 --- a/nix/lib.nix +++ b/nix/lib.nix @@ -152,14 +152,12 @@ in fi # Check if lockfile changed (either from the npm i above or from an - # external edit). Runs npm ci + fix-lockfiles if so. + # external edit). Runs npm ci if so. LOCK_STAMP="$STAMP_DIR/root-lockfile" LOCK_STAMP_VALUE=$(sha256sum "$REPO_ROOT/package-lock.json" 2>/dev/null | awk '{print $1}') if [ ! -f "$LOCK_STAMP" ] || [ "$(cat "$LOCK_STAMP")" != "$LOCK_STAMP_VALUE" ]; then echo "npm: package-lock.json changed, running npm ci..." ( cd "$REPO_ROOT" && CI=true ${pkgs.lib.getExe' nodejs "npm"} ci --silent --no-fund --no-audit 2>/dev/null ) - echo "npm: updating nix hash..." - ${fixLockfilesExe} || echo "npm: warning: fix-lockfiles failed, run it manually" >&2 mkdir -p "$STAMP_DIR" echo "$LOCK_STAMP_VALUE" > "$LOCK_STAMP" fi