flake: extract devShell.nix and drop flake-compat shell.nix

This commit is contained in:
2026-08-22 18:36:34 +08:00
parent 11622bff22
commit ed312f7919
4 changed files with 27 additions and 164 deletions
+24
View File
@@ -0,0 +1,24 @@
{ pkgs }:
pkgs.mkShell {
packages = with pkgs; [
(fenix.latest.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
"rust-analyzer"
])
cargo-machete
cargo-bloat
cargo-expand
lldb
valgrind
kdePackages.kcachegrind
hyperfine
just
samply
tokei
tombi
];
}