1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-28 09:27:44 +00:00

nix: init tooling (#5)

Co-authored-by: Bloxx12 <blox@blox>
This commit is contained in:
bloxx12 2025-05-13 16:09:50 +00:00 committed by GitHub
parent 8285210557
commit 0d91c57d99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 87 additions and 0 deletions

20
nix/shell.nix Normal file
View file

@ -0,0 +1,20 @@
{
mkShell,
rust-analyzer-unwrapped,
rustfmt,
clippy,
cargo,
rustc,
rustPlatform,
}:
mkShell {
packages = [
cargo
clippy
rustc
rustfmt
rust-analyzer-unwrapped
];
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}