build-dotnet-module: fix mktemp

Re-add missing `-t` arg which I erroneously removed in
a98e520855.

Without it, the tmpdir is created in $PWD.
This commit is contained in:
Erik Arvstedt 2023-01-09 17:33:10 +01:00
parent 9ede79d58b
commit 89c457d847
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -196,7 +196,7 @@ stdenvNoCC.mkDerivation (args // {
TMPDIR=
fi
export tmp=$(mktemp -d "deps-${pname}-XXXXXX")
export tmp=$(mktemp -td "deps-${pname}-XXXXXX")
HOME=$tmp/home
exitTrap() {