From 359a8ab763cc68c1c7d44daa39ce707285a636e6 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 9 May 2026 11:40:12 +0200 Subject: [PATCH] fetchPnpmDeps: use writableTmpDirAsHomeHook Signed-off-by: Sefa Eyeoglu --- pkgs/build-support/node/fetch-pnpm-deps/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.