cachix / install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Apache License 2.0
520 stars 80 forks source link

`no space left` When running multiple `nix build ...` at the same time. #173

Closed dpc closed 1 year ago

dpc commented 1 year ago

I'm running multiple nix build -L ... via GNU parallel, and they are hitting some space limit somewhere, but I just can't figure out where exactly.

I've googled and tried so many things, remouted all tmpfs mounts to increase their size and something is always wrong.

What options should I add an where to increase the respective build size capacity when using install-nix-action?

sandydoo commented 1 year ago

I would imagine you're running out of memory or space in /tmp. I would start by reducing the number of simultaneous builds and monitoring the resource usage of your action with https://github.com/nektos/act.

dpc commented 1 year ago

Thanks. I have figured it out since then.