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
rustup: init at 1.2.0 #24927
rustup: init at 1.2.0 #24927
Conversation
I would not include this package in nixpkgs, as we have the mozilla overlay which gives us the very same functionality, but on a nix-level. I'd opt for rejecting this PR. |
Does this overlay provides support cross compiler for targets like x86_64-rumprun-netbsd? I also need components as used in https://github.com/japaric/xargo |
I honestly don't know, sorry. |
Rustup now works with unmodified toolchains on Nixos! No more patchelf. |
I merge this anyway despite the existence of the overlay, for the following reason:
|
Not yet, but we can install extensions for the same target, and installing extension for cross-compiling should be doable by changing a few Nix expressions, as soon as someone is interested in contributing these bits back. |
How are you using rustup in NixOS setting? Currently I'm trying to use it in nix-shell and I get error, when trying to build my project. error[E0463]: can't find crate for |
Motivation for this change
use pre-compiled cross compiler + access to nightlies
depends on #24926
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)