From 65d19f4f1ec573862ffafe63e6e50dadaebf7808 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sat, 10 Oct 2026 22:01:44 +0200 Subject: [PATCH] fix(nix): pnpmDeps hash for the current lockfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The atm-app's pnpm store is a fixed-output derivation keyed by this hash. pnpm-lock.yaml changed twice today (the dead-script dependency prune in 763817b, then qrcode declared where fund-atm.ts uses it in cbff654) and the hash was not updated, so nix reused the stale store and the sandboxed `pnpm install --offline` failed on @types/qrcode (ERR_PNPM_NO_OFFLINE_TARBALL). That is what sintra's nightly upgrade and the cachix push were dying on. Rule to carry forward: any commit that touches pnpm-lock.yaml must re-derive this hash (blank it, build, paste the `got:` value) — the local `pnpm build` passing says nothing about the nix build. --- nix/mkAtmApp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/mkAtmApp.nix b/nix/mkAtmApp.nix index c0ef9cb..48f249d 100644 --- a/nix/mkAtmApp.nix +++ b/nix/mkAtmApp.nix @@ -38,7 +38,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: { inherit (finalAttrs) pname version src pnpmWorkspaces; inherit pnpm; fetcherVersion = 3; - hash = "sha256-XqpQpFL3PqnFltb4ujAmmnnV0LOqTHKV/bo3riFu9pY="; + hash = "sha256-HIMjQx0REauknZkIU50M4KMU0lyNQ41UG6AUM/3Hn54="; }; nativeBuildInputs = [