put the whole rust toolchain into one package so Rider can handle it

This commit is contained in:
Vinzenz Schroeter 2024-09-05 22:03:06 +02:00
parent 051dbfabea
commit 34ca374e14

View file

@ -1,12 +1,20 @@
{pkgs ? import <nixpkgs> {}}:
{pkgs ? import <nixpkgs> {}}: let
rust-toolchain = pkgs.symlinkJoin {
name = "rust-toolchain";
paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy];
};
in
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
rustc cargo gcc rustfmt clippy
rust-toolchain
pkg-config
xe
lzma
cargo-tarpaulin
gcc
gnumake
# dotnet-sdk_8