package/prettier-plugin-pug: fix build and properly modernise
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate documentation builds-1 (push) Has been cancelled
Treewide Checks / Validate documentation builds-2 (push) Has been cancelled
Treewide Checks / Validate documentation builds-3 (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled

Based on the full set of changes to the astro plugin, not just the basic
fetcher update.
This commit is contained in:
alfarel 2026-05-28 23:46:04 -04:00 committed by raf
commit 07b57ebc6c

View file

@ -4,6 +4,7 @@
gitMinimal, gitMinimal,
pnpm_9, pnpm_9,
pnpmConfigHook, pnpmConfigHook,
zstd,
fetchPnpmDeps, fetchPnpmDeps,
pins, pins,
fetchFromGitHub, fetchFromGitHub,
@ -36,25 +37,21 @@ in
nodejs nodejs
gitMinimal gitMinimal
writableTmpDirAsHomeHook writableTmpDirAsHomeHook
(pnpmConfigHook.overrideAttrs { (pnpmConfigHook.override {
propagatedBuildInputs = [pnpm_9]; pnpm = pnpm_9;
}) })
pnpm_9
zstd
]; ];
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
pnpm run build pnpm run build
runHook postBuild runHook postBuild
''; '';
installPhase = '' preInstall = ''
runHook preInstall
cp -r dist/ $out cp -r dist/ $out
cp -r node_modules $out cp -r node_modules $out
runHook postInstall
''; '';
}) })