initial commit
This commit is contained in:
commit
6491e91ec5
37 changed files with 1116 additions and 0 deletions
16
shells/rust.nix
Normal file
16
shells/rust.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
rustup
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
rustup default stable
|
||||
rustup component add rustfmt
|
||||
rustup component add clippy
|
||||
rustup component add rust-analyzer
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue