rustup from nixpkgs places
/etc/profiles/per-user/<user>/bin/cargo (as a symlink) but Clion, i.e., the rust plugin, expects the toolchain at
~/.cargo/bin/cargo. What’s the most idiomatic way for Nix to overcome this issue?
- a) patch rustup from nixpkgs to place a symlink at
- b) automatically create a symlink in my configuration.nix, if it doesn’t exist
- if so: how?
- c) manually create the symlink
Manually patching the toolchain path for every of clion’s rust projects in the UI dialog is annoying.
What are your thoughts?