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,
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
'';
})