servicepoint-tanks/shell.nix

35 lines
510 B
Nix
Raw Normal View History

{
pkgs ? import <nixpkgs> { },
}:
2024-09-07 13:38:01 +02:00
let
rust-toolchain = pkgs.symlinkJoin {
2024-09-07 13:38:01 +02:00
name = "rust-toolchain";
paths = with pkgs; [
rustc
cargo
rustPlatform.rustcSrc
rustfmt
clippy
];
2024-09-07 13:38:01 +02:00
};
in
2024-06-05 21:42:21 +02:00
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
2024-09-07 13:38:01 +02:00
rust-toolchain
2024-06-05 21:42:21 +02:00
pkg-config
xe
lzma
cargo-tarpaulin
gnumake
2024-09-07 13:38:01 +02:00
iconv
typescript
nodejs
2024-09-07 13:38:01 +02:00
dotnet-sdk_8
2024-06-05 21:42:21 +02:00
];
2024-09-07 13:38:01 +02:00
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
2024-06-05 21:42:21 +02:00
}