diff --git a/pkgs/build-support/node/fetch-pnpm-deps/default.nix b/pkgs/build-support/node/fetch-pnpm-deps/default.nix index 80b637b57ddf..bba11ef60560 100644 --- a/pkgs/build-support/node/fetch-pnpm-deps/default.nix +++ b/pkgs/build-support/node/fetch-pnpm-deps/default.nix @@ -87,6 +87,7 @@ in moreutils pnpm # from args pnpm-fixup-state-db' + writableTmpDirAsHomeHook yq zstd ] @@ -104,8 +105,6 @@ in exit 1 fi - export HOME=$(mktemp -d) - # For fetcherVersion < 3, the pnpm store files are placed directly into $out. # For fetcherVersion >= 3, it is bundled into a compressed tarball within $out, # without distributing the uncompressed store files.