Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting temp path for remote build #282

Open
jficz opened this issue Jul 11, 2024 · 1 comment
Open

Allow setting temp path for remote build #282

jficz opened this issue Jul 11, 2024 · 1 comment

Comments

@jficz
Copy link

jficz commented Jul 11, 2024

It's getting quite common lately that builds take up a lot of space in /tmp which is also rather often a tmpfs.

Some of my target machines don't have enough RAM to accommodate for such builds. Previously I just set $TMPDIR to something else before building but that can't be done when building on the remote machine with deploy-rs.

There's --temp-path arg but that's used for something else. Something like --temp-build-path or even using --temp-path for builds, too, would be nice.

@jficz
Copy link
Author

jficz commented Jul 11, 2024

Somehow even when I set remoteBuild to false and export TMPDIR=/tmp2, I still end up with out of space errors from /tmp/... when building a machine which happens to be the localhost. Not sure if this is a deploy issue or nix issue. See #283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant