jeol-t330a/beamer/libs/semserialize/shell.nix

17 lines
307 B
Nix
Raw Normal View History

2025-01-11 15:14:30 +00:00
{ pkgs ? import <nixpkgs> {}}:
let rust-toolchain = with pkgs; symlinkJoin {
name = "rust-toolchain";
paths = [
rustc
cargo
rustfmt
rust-analyzer
clippy
rustPlatform.rustcSrc
];
};
in pkgs.mkShell {
buildInputs = [rust-toolchain];
RUST_BACKTRACE = 1;
}