let pkgs = import { }; fenix = import { inherit pkgs; }; inherit (fenix.stable) toolchain; mkShellRR = pkgs.callPackage ../. { withNonRustupSysroot = false; rustc = toolchain; cargo = toolchain; projectRoot = toString ./.; }; in mkShellRR { packages = [ pkgs.taplo ]; shellHook = '' echo "Welcome to the RustRover Fenix Shell!" echo "Add .idea/rust-toolchain/bin to RustRover to use this toolchain" ''; }