diff --git a/pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh b/pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh index c8d428240621..ff971ce1e592 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh +++ b/pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh @@ -4,6 +4,8 @@ tmp=$(mktemp -d) trap 'chmod -R +w "$tmp" && rm -fr "$tmp"' EXIT HOME=$tmp/.home +export TMPDIR="$tmp/.tmp" +mkdir "$HOME" "$TMPDIR" cd "$tmp" phases="