mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 10:00:14 +01:00
put the whole rust toolchain into one package so Rider can handle it
This commit is contained in:
parent
051dbfabea
commit
34ca374e14
16
shell.nix
16
shell.nix
|
@ -1,16 +1,24 @@
|
|||
{pkgs ? import <nixpkgs> {}}:
|
||||
pkgs.mkShell {
|
||||
{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
|
||||
];
|
||||
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue