diff --git a/pkgs/build-support/dotnet/build-dotnet-module/default.nix b/pkgs/build-support/dotnet/build-dotnet-module/default.nix index d7d6d68c6c53..514255f324ac 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/default.nix +++ b/pkgs/build-support/dotnet/build-dotnet-module/default.nix @@ -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() {