mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-08-29 04:07:09 +00:00
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:
+3
-1
@@ -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=";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user