From 92bb5340b7dc36634588907e66998a540c172d13 Mon Sep 17 00:00:00 2001 From: iris Date: Sun, 16 Aug 2026 15:10:04 +0200 Subject: [PATCH] nix: bump npmDepsHash for the new preact dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit frontend/package-lock.json changed (preact added to dashboard + shared in the earlier commits on this branch) but the fixed-output npm-deps hash pinned in nix/checks.nix, nix/packages/frontend.nix, and nix/packages/swarm-ui.nix (all three hash the one shared lockfile, per checks.nix's own comment) wasn't updated to match — argus caught it on review. Recomputed with nix run nixpkgs#prefetch-npm-deps. --- nix/checks.nix | 2 +- nix/packages/frontend.nix | 2 +- nix/packages/swarm-ui.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/checks.nix b/nix/checks.nix index 7181e8f7..ee4ca537 100644 --- a/nix/checks.nix +++ b/nix/checks.nix @@ -152,7 +152,7 @@ in # Same lockfile as `frontend`/`swarm-ui` above — recompute in # lockstep with those two whenever `frontend/package-lock.json` # changes (`prefetch-npm-deps frontend/package-lock.json`). - npmDepsHash = "sha256-LIwW5Nn9cSqJHCm1czPIVxQdP5OqWk7U/4kvkwaj2ts="; + npmDepsHash = "sha256-8mYI9b1nuQ8YNFkW/ezJwO5Qw6NJTDG+kspYozs/5cI="; buildPhase = '' runHook preBuild diff --git a/nix/packages/frontend.nix b/nix/packages/frontend.nix index 0aae207e..e97c24f0 100644 --- a/nix/packages/frontend.nix +++ b/nix/packages/frontend.nix @@ -40,7 +40,7 @@ buildNpmPackage { # Update whenever the lockfile changes. Recompute locally with the # same command (`pkgs.prefetch-npm-deps`), or let the build fail # and copy the actual hash from the error message. - npmDepsHash = "sha256-LIwW5Nn9cSqJHCm1czPIVxQdP5OqWk7U/4kvkwaj2ts="; + npmDepsHash = "sha256-8mYI9b1nuQ8YNFkW/ezJwO5Qw6NJTDG+kspYozs/5cI="; # `npm run build` recurses into all workspaces (`--workspaces # --if-present`). The workspaces' build scripts each run their own diff --git a/nix/packages/swarm-ui.nix b/nix/packages/swarm-ui.nix index 58892ea3..3d2c0d23 100644 --- a/nix/packages/swarm-ui.nix +++ b/nix/packages/swarm-ui.nix @@ -35,7 +35,7 @@ buildNpmPackage { # Recompute with `prefetch-npm-deps frontend/package-lock.json` # whenever the lockfile changes — same value as `./frontend.nix`'s # `npmDepsHash`, both hash the one shared lockfile. - npmDepsHash = "sha256-LIwW5Nn9cSqJHCm1czPIVxQdP5OqWk7U/4kvkwaj2ts="; + npmDepsHash = "sha256-8mYI9b1nuQ8YNFkW/ezJwO5Qw6NJTDG+kspYozs/5cI="; buildPhase = '' runHook preBuild