I am using flakes. I build my rust package with nixpkgs-unstable.rustPlatform.buildRustPackage
. I also want to make a devShell
. I could use buildInputs = [ rustc cargo ]
, but I feel like these binaries would net be that same as what rustPlatform
uses.
How do I achieve the same toolchain in both places?