diff --git a/nix/frontend.nix b/nix/frontend.nix deleted file mode 100644 index 821ff37..0000000 --- a/nix/frontend.nix +++ /dev/null @@ -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"; -} \ No newline at end of file diff --git a/nix/moku.nix b/nix/moku.nix index 282e964..b251f65 100644 --- a/nix/moku.nix +++ b/nix/moku.nix @@ -29,7 +29,7 @@ pkgs.stdenv.mkDerivation { pnpmDeps = pkgs.fetchPnpmDeps { pname = "moku"; inherit version src; - fetcherVersion = 1; + fetcherVersion = 3; hash = versions.frontend.pnpmHash; }; diff --git a/nix/versions.nix b/nix/versions.nix index e219e84..b076976 100644 --- a/nix/versions.nix +++ b/nix/versions.nix @@ -7,7 +7,7 @@ }; frontend = { - pnpmHash = "sha256-8bkwONUrr+U2OXYXvcsGytKhcImnehu+2bI/hmoFjJ4="; + pnpmHash = "sha256-HuHWy2M+vqSKYYspezUc4Ihce5YXqvuB5RId27UOVFg="; distHash = "7db288b4b54277aa82b6ec5b21fc31a1e71f8246c50a74777500083b806c1fa5"; distHashSri = "sha256-fbiiu0tCd6qCtu+SIfw+aR8Yj2bFCnR3dQAIO4BvwfM="; };