update shell.nix
This commit is contained in:
parent
d2032772d3
commit
6016d4e2d9
14
shell.nix
14
shell.nix
|
@ -1,11 +1,23 @@
|
||||||
{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; [
|
||||||
rustup
|
rust-toolchain
|
||||||
|
|
||||||
pkg-config
|
pkg-config
|
||||||
xe
|
xe
|
||||||
lzma
|
lzma
|
||||||
cargo-tarpaulin
|
cargo-tarpaulin
|
||||||
gnumake
|
gnumake
|
||||||
|
iconv
|
||||||
|
|
||||||
|
dotnet-sdk_8
|
||||||
];
|
];
|
||||||
|
|
||||||
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue