Closed smancill closed 3 years ago
Oh my, how /tmp
cannot be writable?... Wasn't aware of such a case, thanks a lot.
It's just the way the nixpkgs CI sandbox is configured for darwin (not sure how), but I think it is better not to hardcode /tmp
anyway. gettempdir
is more robust.
Do not hardcode the temporary directory to
/tmp
, because it may not be writable.See NixOS/nixpkgs#146838 for context.