From f24a9f8bc05c50f896383df2c0e56cedb57155b1 Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 22 May 2026 16:05:23 +0100 Subject: [PATCH] build(nix): frontend pin pnpm some future protections against this acursed toolchain breaking and people who do .follows on their nixpkgs inputs --- frontend.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend.nix b/frontend.nix index ab558e8..9d5e963 100644 --- a/frontend.nix +++ b/frontend.nix @@ -2,13 +2,14 @@ lib, stdenvNoCC, nodejs, - pnpm, + pnpm_11, pnpmConfigHook, fetchPnpmDeps, nix-update-script, }: let toml = (lib.importTOML ./Cargo.toml).workspace.package; + pnpm = pnpm_11; in stdenvNoCC.mkDerivation (finalAttrs: { pname = "tranquil-frontend"; @@ -18,6 +19,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; + inherit pnpm; fetcherVersion = 3; hash = "sha256-qbmIAvE/3u/NB5x9bERCGQqwiDLkzjff3QchgR+ZDFs="; };