You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ran into NixOS/nix#395, resulting in an unexpected "out of space" error when running a build in nix-shell despite there being plenty of space on the runner.
While I could set TMPDIR myself, it seems like it may be beneficial to set it from this action as the default nix behavior is not very GitHub Actions Runner friendly.
It seems like the best candidate is setting TMPDIR to $RUNNER_TEMP.
The text was updated successfully, but these errors were encountered:
@jalaziz, thanks for linking to that issue. The fallback to $XDG_RUNTIME_DIR is problematic. It might be a good idea to set $TMPDIR until NixOS/nix#395 is resolved.
Using $RUNNER_TEMP sounds reasonable to me. @domenkozar, thoughts?
Set `TMPDIR` if not already set to workaround potential disk space
issues while running builds in a nix shell. See NixOS/nix#395 for
more info.
fixescachix#197
I recently ran into NixOS/nix#395, resulting in an unexpected "out of space" error when running a build in
nix-shell
despite there being plenty of space on the runner.While I could set
TMPDIR
myself, it seems like it may be beneficial to set it from this action as the default nix behavior is not very GitHub Actions Runner friendly.It seems like the best candidate is setting
TMPDIR
to$RUNNER_TEMP
.The text was updated successfully, but these errors were encountered: