build(nix): frontend pin pnpm

some future protections against this acursed toolchain breaking and
people who do .follows on their nixpkgs inputs
This commit is contained in:
isabel
2026-05-22 23:24:45 +03:00
committed by Tangled
parent f6ef6ecbd9
commit f24a9f8bc0
+3 -1
View File
@@ -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=";
};