rust-nex/shell.nix

18 lines
323 B
Nix
Raw Normal View History

2026-01-07 20:33:29 +01:00
{
pkgs ? import <nixpkgs> { },
pkg ? pkgs.callPackage ./. { },
}:
pkgs.mkShell {
# Get dependencies from the main package
# inputsFrom = [ pkg ];
# Additional tooling
buildInputs = with pkgs; [
cargo
rust-analyzer # LSP Server
rustfmt # Formatter
clippy # Linter
podman
yq
jq
];
}