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

[feat] skip rustup installation for cargo tauri android init (for nix user) #7044

Closed
bburdette opened this issue May 23, 2023 · 0 comments · Fixed by #7058
Closed

[feat] skip rustup installation for cargo tauri android init (for nix user) #7044

bburdette opened this issue May 23, 2023 · 0 comments · Fixed by #7058

Comments

@bburdette
Copy link

Describe the problem

I'm getting a nix flake set up for my project. I want to avoid using rustup as that is a system wide (or at least user-wide) tool. I'd like to have as many build tools as possible specified in my flake.nix.

I already have the rustc android targets installed and rustc and so forth. But cargo tauri android init fails because rustup is not found. I don't want to install the compiler and etc with rustup because I already have that.

Describe the solution you'd like

I'd like the tool to skip the rustup step. Some ways to do that:

  • have an optional --no-rustup flag
  • check for compile targets being present before trying to call rustup to install them

Alternatives considered

just install things with rustup during project generation, then delete the rustup installed compiler again when its through. probably will do this but would rather not long-term.

Additional context

No response

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

Successfully merging a pull request may close this issue.

2 participants