nix-configs/dev/rust/shell.nix
Aaron Honeycutt de53a26819 format nix
2025-09-18 17:24:56 -06:00

20 lines
273 B
Nix

{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = with pkgs; [
# Rust
cargo
rustc
# System
pkg-config
util-linux
];
#inputsFrom = with pkgs; [ bat ];
RUST_BACKTRACE = 1;
shellHook = ''
echo "Ready to make some Rust!"
'';
}