feat: add more tooling to devshell

Adds useful tools and environment variables to improve the rust development experience within the nix environment. This includes tools like git, gh, nodejs, cargo-watch, cargo-edit, clippy, and rustfmt.

It also configures a shell hook to provide information and sets RUST_BACKTRACE to 1 for easier debugging.
This commit is contained in:
Martin Wimpress
2025-05-23 13:03:11 +01:00
committed by Martin Wimpress
parent d7a8a10e35
commit 5550089614
+14
View File
@@ -46,7 +46,21 @@
rustToolchain
rust-analyzer
nixpkgs-fmt
git
gh
nodejs
cargo-watch
cargo-edit
clippy
rustfmt
];
# Environment variables that help with development
shellHook = ''
echo "🦀 Rust development environment loaded"
echo "📝 rust-analyzer tools available"
export RUST_BACKTRACE=1
'';
};
});