mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-31 01:10:13 +01:00
put the whole rust toolchain into one package so Rider can handle it
This commit is contained in:
parent
051dbfabea
commit
34ca374e14
12
shell.nix
12
shell.nix
|
@ -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 {
|
pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs.buildPackages; [
|
nativeBuildInputs = with pkgs.buildPackages; [
|
||||||
rustc cargo gcc rustfmt clippy
|
rust-toolchain
|
||||||
|
|
||||||
pkg-config
|
pkg-config
|
||||||
xe
|
xe
|
||||||
lzma
|
lzma
|
||||||
|
|
||||||
cargo-tarpaulin
|
cargo-tarpaulin
|
||||||
|
|
||||||
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
|
|
||||||
# dotnet-sdk_8
|
# dotnet-sdk_8
|
||||||
|
|
Loading…
Reference in a new issue