jeol-t330a/beamer/libs/semserialize/shell.nix
Robert Schauklies b33fe3ccaf
All checks were successful
/ test (push) Successful in 13s
1st integration for client
2025-01-11 17:34:05 +01:00

18 lines
381 B
Nix

{ pkgs ? import <nixpkgs> {}}:
let rust-toolchain = with pkgs; symlinkJoin {
name = "rust-toolchain";
paths = [
rustc
cargo
rustfmt
rust-analyzer
clippy
rustPlatform.rustcSrc
];
};
in pkgs.mkShell {
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
buildInputs = [rust-toolchain];
RUST_BACKTRACE = 1;
}