diff --git a/pkgs/build-support/node/fetch-yarn-deps/yarn-install-hook.sh b/pkgs/build-support/node/fetch-yarn-deps/yarn-install-hook.sh index bef51f7ef0d7..240879ad7182 100644 --- a/pkgs/build-support/node/fetch-yarn-deps/yarn-install-hook.sh +++ b/pkgs/build-support/node/fetch-yarn-deps/yarn-install-hook.sh @@ -17,7 +17,7 @@ yarnInstallHook() { --offline ) - local -r tmpDir="$(mktemp -d yarnInstallHook.XXXXXX)" + local -r tmpDir="$(mktemp -d)" # yarn pack does not work at all with bundleDependencies. # Since we are imediately unpacking, we can just remove them from package.json