yazi/nix/shell.nix
2025-11-24 19:55:41 +08:00

25 lines
364 B
Nix

{
mkShell,
yazi,
toolchain,
nodePackages,
yazi-unwrapped,
}:
mkShell {
packages = yazi.passthru.runtimePaths ++ [
(toolchain.override {
extensions = [
"rust-src"
"rustfmt"
"rust-analyzer"
"clippy"
];
})
nodePackages.cspell
];
inputsFrom = [ yazi-unwrapped ];
env.RUST_BACKTRACE = "1";
}