We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The README seems to indicate that having the rust-src attribute in the shell's packages would automatically set RUST_SRC_PATH
rust-src
RUST_SRC_PATH
rust-src = <derivation>; # RUST_SRC_PATH = "${fenix.complete.rust-src}/lib/rustlib/src/rust/library"
It's a good idea, but it doesn't seem to happen. My toolchain was constructed like so:
rustToolchain = with pkgs.fenix; combine [ targets.x86_64-unknown-linux-musl.stable.rust-std stable.rust-src stable.rustc stable.cargo ];
And then included in a shell like so:
shell = pkgs.mkShell { buildInputs = [ rustToolchain pkgs.pkg-config pkgs.libusb1 ]; RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library"; RUST_BACKTRACE = 1; PKG_CONFIG_ALLOW_CROSS=1; };
The availability of rustc and cargo within the shell are as expected.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The README seems to indicate that having the
rust-src
attribute in the shell's packages would automatically setRUST_SRC_PATH
It's a good idea, but it doesn't seem to happen. My toolchain was constructed like so:
And then included in a shell like so:
The availability of rustc and cargo within the shell are as expected.
The text was updated successfully, but these errors were encountered: