buildDotnetModule: set TMPDIR in fetch-deps

Some packages assume TMPDIR is unshared, even in nix-shell.
This commit is contained in:
David McFarland
2024-09-05 22:47:39 -03:00
parent e530139caa
commit e49642596f
@@ -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="