Talk: Rust

From NixOS Wiki
Revision as of 01:37, 5 September 2021 by L0b0 (talk | contribs) (How to integrate with intellij-rust?: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to integrate with intellij-rust?

intellij-rust is able to detect the toolchain but not the standard library, and the "Download via Rustup" "link" doesn't seem to do anything. If anyone's been able to set up IDEA to work with Rust on Nix any tips would be really helpful.

I've tried a couple suggestions:

  • rustup run stable idea-ultimate
  • Adding RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; to mkShell in shell.nix

L0b0 (talk) 01:37, 5 September 2021 (UTC)