flake: the pnpmDeps hash has been stale since happy-dom was added #98

Closed
opened 2026-08-24 14:42:03 +01:00 by naps62-yolo · 0 comments
Collaborator

The flake pins `pnpmDeps.hash`, but the pin has not moved since the flake was first added in `401afbc`, while `web/pnpm-lock.yaml` last changed in `7130186` (adding happy-dom). A fixed-output derivation whose input has changed cannot build, so `nix build .#maestro-web` — and therefore the packaged install path and the Home Manager module — has been broken since then.

Found while implementing #72, which had to bump the hash to get a working tree. Recorded here because the cause has nothing to do with that issue and the fix rode in on its merge.

The lasting fix is not another manual bump: any lockfile change silently breaks the build again, and nothing in CI notices. Either build the flake package in CI so a stale hash fails loudly, or drop the pinned-hash approach for one that derives from the lockfile.

Verify with nix build .#maestro-web.

The flake pins \`pnpmDeps.hash\`, but the pin has not moved since the flake was first added in \`401afbc\`, while \`web/pnpm-lock.yaml\` last changed in \`7130186\` (adding happy-dom). A fixed-output derivation whose input has changed cannot build, so \`nix build .#maestro-web\` — and therefore the packaged install path and the Home Manager module — has been broken since then. Found while implementing #72, which had to bump the hash to get a working tree. Recorded here because the cause has nothing to do with that issue and the fix rode in on its merge. The lasting fix is not another manual bump: any lockfile change silently breaks the build again, and nothing in CI notices. Either build the flake package in CI so a stale hash fails loudly, or drop the pinned-hash approach for one that derives from the lockfile. Verify with `nix build .#maestro-web`.
naps62-yolo added this to the Spawn v2 milestone 2026-08-24 14:42:03 +01:00
naps62-yolo added the type/fixdifficulty/easyarea/config labels 2026-08-24 14:42:03 +01:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: naps62/maestro#98