feat(rust): initialised cargo
This commit is contained in:
parent
2df4bdc9ed
commit
900a9b8e42
9 changed files with 121 additions and 0 deletions
25
nix/shell.nix
Normal file
25
nix/shell.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
mkShell,
|
||||
rust-analyzer-unwrapped,
|
||||
rustfmt,
|
||||
clippy,
|
||||
cargo,
|
||||
rustc,
|
||||
gcc,
|
||||
rustPlatform,
|
||||
}:
|
||||
mkShell {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
rustc
|
||||
gcc
|
||||
|
||||
rust-analyzer-unwrapped
|
||||
rustfmt
|
||||
clippy
|
||||
];
|
||||
|
||||
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue