Fix: Update to FetcherVersion 3 for NixOS

This commit is contained in:
Youwes09
2026-06-03 22:12:42 -05:00
parent 7c6aeb8f4c
commit b55dd16d0d
3 changed files with 2 additions and 24 deletions
-22
View File
@@ -1,22 +0,0 @@
{ lib, stdenv, nodejs_22, pnpm, pnpmConfigHook, fetchPnpmDeps, version, src, versions }:
stdenv.mkDerivation {
pname = "moku-frontend";
inherit version src;
nativeBuildInputs = [ nodejs_22 pnpm pnpmConfigHook ];
pnpmDeps = fetchPnpmDeps {
pname = "moku-frontend";
inherit version src;
fetcherVersion = 1;
hash = versions.frontend.pnpmHash;
};
buildPhase = ''
export HOME=$(mktemp -d)
pnpm build:static
'';
installPhase = "cp -r dist $out";
}
+1 -1
View File
@@ -29,7 +29,7 @@ pkgs.stdenv.mkDerivation {
pnpmDeps = pkgs.fetchPnpmDeps {
pname = "moku";
inherit version src;
fetcherVersion = 1;
fetcherVersion = 3;
hash = versions.frontend.pnpmHash;
};
+1 -1
View File
@@ -7,7 +7,7 @@
};
frontend = {
pnpmHash = "sha256-8bkwONUrr+U2OXYXvcsGytKhcImnehu+2bI/hmoFjJ4=";
pnpmHash = "sha256-HuHWy2M+vqSKYYspezUc4Ihce5YXqvuB5RId27UOVFg=";
distHash = "7db288b4b54277aa82b6ec5b21fc31a1e71f8246c50a74777500083b806c1fa5";
distHashSri = "sha256-fbiiu0tCd6qCtu+SIfw+aR8Yj2bFCnR3dQAIO4BvwfM=";
};