From e49642596f20f2730d4ad136d96f8bd3cbc080e8 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Sat, 24 Aug 2024 14:35:27 -0300 Subject: [PATCH] buildDotnetModule: set TMPDIR in fetch-deps Some packages assume TMPDIR is unshared, even in nix-shell. --- pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh | 2 ++ 1 file changed, 2 insertions(+) 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="