servicepoint-tanks/shell.nix

24 lines
439 B
Nix
Raw Normal View History

2024-06-05 21:42:21 +02:00
{pkgs ? import <nixpkgs> {}}:
2024-09-07 13:38:01 +02:00
let
rust-toolchain = pkgs.symlinkJoin {
name = "rust-toolchain";
paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy];
};
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
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
}