nixpkgs/pkgs/build-support/dotnet/build-dotnet-module
Erik Arvstedt a98e520855
build-dotnet-module: avoid /run/user for downloading packages
Inside `nix-shell`, `TMPDIR` (used by `mktemp`) is set to
`/run/user/<uid>` which is usually a tmpfs stored in RAM.

When fetching a large dotnet deps tree to this tmpdir from a
nix-shell (e.g. via `btcpayserver/update.sh`), this can easily exceed
system RAM and `fetch-deps` fails.

mktemp arg `-t` is deprecated and can be omitted.
2023-01-07 17:59:34 +01:00
..
hooks build-dotnet-module: restore for current runtime by default 2022-12-19 15:36:25 -04:00
default.nix build-dotnet-module: avoid /run/user for downloading packages 2023-01-07 17:59:34 +01:00