mirror of
https://github.com/ApfelTeeSaft/ia-get.git
synced 2026-08-26 19:23:36 +00:00
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:
committed by
Martin Wimpress
parent
d7a8a10e35
commit
5550089614
@@ -46,7 +46,21 @@
|
|||||||
rustToolchain
|
rustToolchain
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
nixpkgs-fmt
|
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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user