From 07b57ebc6c9e778c536ac0ff1b01fb18dc90239a Mon Sep 17 00:00:00 2001 From: alfarel Date: Thu, 28 May 2026 23:46:04 -0400 Subject: [PATCH] package/prettier-plugin-pug: fix build and properly modernise Based on the full set of changes to the astro plugin, not just the basic fetcher update. --- .../pkgs/by-name/prettier-plugin-pug/package.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/flake/pkgs/by-name/prettier-plugin-pug/package.nix b/flake/pkgs/by-name/prettier-plugin-pug/package.nix index 0654604f..dfd99132 100644 --- a/flake/pkgs/by-name/prettier-plugin-pug/package.nix +++ b/flake/pkgs/by-name/prettier-plugin-pug/package.nix @@ -4,6 +4,7 @@ gitMinimal, pnpm_9, pnpmConfigHook, + zstd, fetchPnpmDeps, pins, fetchFromGitHub, @@ -36,25 +37,21 @@ in nodejs gitMinimal writableTmpDirAsHomeHook - (pnpmConfigHook.overrideAttrs { - propagatedBuildInputs = [pnpm_9]; + (pnpmConfigHook.override { + pnpm = pnpm_9; }) + pnpm_9 + zstd ]; buildPhase = '' runHook preBuild - pnpm run build - runHook postBuild ''; - installPhase = '' - runHook preInstall - + preInstall = '' cp -r dist/ $out cp -r node_modules $out - - runHook postInstall ''; })