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

fix(rust): dont use hardcoded CARGO_HOME to /build #97

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

yusdacra
Copy link
Member

@yusdacra yusdacra commented Mar 6, 2022

Using hardcoded /build apparently causes some issues on darwin (?) (helix-editor/helix#1758 (comment)). So this attempts to fix it by setting CARGO_HOME in a hook instead of hardcoding it in derivation.

Draft until it gets confirmed this actually fixes the issue. It doesn't seem to break anything for me (nix-cargo-integration tests pass fine) so it should be a welcome improvement anyways. seems to fix that error!

@yusdacra yusdacra marked this pull request as ready for review March 6, 2022 16:07
@DavHau DavHau merged commit 7641236 into nix-community:main Mar 7, 2022
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