diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index a82c9667..c792df75 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -57,6 +57,11 @@ ## 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) - Introduce a `darwinModule` option for Darwin users. The ergonomics of diff --git a/flake/pkgs/by-name/prettier-plugin-astro/package.nix b/flake/pkgs/by-name/prettier-plugin-astro/package.nix index 0c0d206f..882718a0 100644 --- a/flake/pkgs/by-name/prettier-plugin-astro/package.nix +++ b/flake/pkgs/by-name/prettier-plugin-astro/package.nix @@ -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]; })