fix(nix): migrate to fetchPnpmDeps and pnpmConfigHook

This commit is contained in:
William Valentin
2026-02-15 18:49:09 -08:00
parent 15aa80118c
commit ad9552cf65
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -23,8 +23,9 @@ pkgs.stdenv.mkDerivation rec {
);
};
pnpmDeps = pkgs.pnpm.fetchDeps {
pnpmDeps = pkgs.fetchPnpmDeps {
inherit pname version src;
fetcherVersion = 1;
# NOTE: Update this hash after the first `nix build` by copying the
# "got: sha256-..." value from the error message.
@@ -33,7 +34,7 @@ pkgs.stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgs.nodejs_22
pkgs.pnpm.configHook
pkgs.pnpmConfigHook
pkgs.makeWrapper
pkgs.python3
pkgs.gnumake