Skip to content

fix: use tmp dir if $HOME isn't writable#1770

Merged
mosteo merged 2 commits into
alire-project:masterfrom
atalii:unwritablehome
Oct 2, 2024
Merged

fix: use tmp dir if $HOME isn't writable#1770
mosteo merged 2 commits into
alire-project:masterfrom
atalii:unwritablehome

Conversation

@atalii

@atalii atalii commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

All the tests pass on my machine; let me know if there are any issues, if an additional test would be warranted, &c.

Context for this PR is in #1769 - this makes crate builds in Nix a bit more ergonomic by eliding the need to unset HOME. Hopefully it'll only be a few patches before they're trivial :)

Thanks!

@mosteo mosteo added this to the 2.0.2 milestone Oct 2, 2024
@mosteo

mosteo commented Oct 2, 2024

Copy link
Copy Markdown
Member

Looks good to me. I will add a test for it before merging.

@mosteo mosteo merged commit 0288880 into alire-project:master Oct 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants