From 9535cc59eed9e0f50c5b7e76f9d95fb77f738860 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Sun, 15 Feb 2026 18:50:47 -0800 Subject: [PATCH] fix(nix): include pnpm in native build inputs --- docs/plans/state.json | 2 +- nix/package.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/plans/state.json b/docs/plans/state.json index 535d01e..b42f976 100644 --- a/docs/plans/state.json +++ b/docs/plans/state.json @@ -60,7 +60,7 @@ "status": "completed", "date": "2026-02-16", "updated": "2026-02-16", - "summary": "Added a Nix flake/package that builds dist/ (including dist/gateway/ui adjacency) and an optional NixOS module (services.flynn) for systemd deployment. Follow-up fixes switched package build from unavailable buildPnpmPackage to fetchPnpmDeps + stdenv.mkDerivation, migrated to pnpmConfigHook for current nixpkgs, and added flake.lock.", + "summary": "Added a Nix flake/package that builds dist/ (including dist/gateway/ui adjacency) and an optional NixOS module (services.flynn) for systemd deployment. Follow-up fixes switched package build from unavailable buildPnpmPackage to fetchPnpmDeps + stdenv.mkDerivation, migrated to pnpmConfigHook for current nixpkgs, added flake.lock, pinned dependency hash, and ensured pnpm is in nativeBuildInputs for hook execution.", "files_created": [ "flake.nix", "nix/package.nix", diff --git a/nix/package.nix b/nix/package.nix index 31e5c1a..ef91323 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -34,6 +34,7 @@ pkgs.stdenv.mkDerivation rec { nativeBuildInputs = [ pkgs.nodejs_22 + pkgs.pnpm pkgs.pnpmConfigHook pkgs.makeWrapper pkgs.python3