mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-03-21 11:53:50 +00:00
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
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:
parent
d03d8d78dd
commit
ef0e10f591
2 changed files with 7 additions and 0 deletions
|
|
@ -57,6 +57,11 @@
|
||||||
|
|
||||||
## Changelog {#sec-release-0-9-changelog}
|
## Changelog {#sec-release-0-9-changelog}
|
||||||
|
|
||||||
|
[midischwarz12](https://github.com/midischwarz12):
|
||||||
|
|
||||||
|
- Changed the prettier-plugin-astro build to use `writableTmpDirAsHomeHook` to
|
||||||
|
avoid pnpm hook failures in sandboxed builds.
|
||||||
|
|
||||||
[taylrfnt](https://github.com/taylrfnt)
|
[taylrfnt](https://github.com/taylrfnt)
|
||||||
|
|
||||||
- Introduce a `darwinModule` option for Darwin users. The ergonomics of
|
- Introduce a `darwinModule` option for Darwin users. The ergonomics of
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
pnpmConfigHook,
|
pnpmConfigHook,
|
||||||
fetchPnpmDeps,
|
fetchPnpmDeps,
|
||||||
pins,
|
pins,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}: let
|
}: let
|
||||||
pin = pins.prettier-plugin-astro;
|
pin = pins.prettier-plugin-astro;
|
||||||
in
|
in
|
||||||
|
|
@ -28,6 +29,7 @@ in
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
(pnpmConfigHook.overrideAttrs {
|
(pnpmConfigHook.overrideAttrs {
|
||||||
propagatedBuildInputs = [pnpm_9];
|
propagatedBuildInputs = [pnpm_9];
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue