prettier-plugin-astro: set HOME in build to avoid pnpm hook failure
Some checks failed
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
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
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled

- Export HOME=$TMPDIR in preConfigure so pnpm config doesn’t fail on /homeless-shelter
This commit is contained in:
midischwarz12 2026-03-16 16:30:15 -05:00 committed by raf
commit ef0e10f591
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,7 @@
pnpmConfigHook,
fetchPnpmDeps,
pins,
writableTmpDirAsHomeHook,
}: let
pin = pins.prettier-plugin-astro;
in
@ -28,6 +29,7 @@ in
nativeBuildInputs = [
nodejs
writableTmpDirAsHomeHook
(pnpmConfigHook.overrideAttrs {
propagatedBuildInputs = [pnpm_9];
})