diff --git a/webapp.nix b/webapp.nix index 966e123..851b203 100644 --- a/webapp.nix +++ b/webapp.nix @@ -18,12 +18,13 @@ let # Fixed-output derivation of the pnpm offline store. # On first build / lockfile change, set hash = lib.fakeHash and rebuild; # Nix will report the correct hash to substitute. - pnpmDeps = pkgs.pnpm.fetchDeps { + pnpmDeps = pkgs.fetchPnpmDeps { inherit (finalAttrs) pname version src; hash = cfg.pnpmDepsHash; + fetcherVersion = 2; }; - nativeBuildInputs = [ pkgs.nodejs_20 pkgs.pnpm.configHook ]; + nativeBuildInputs = [ pkgs.nodejs_20 pkgs.pnpmConfigHook ]; # Skip Electron binary download (we're building a web app, not desktop) ELECTRON_SKIP_BINARY_DOWNLOAD = "1";