Minimal rust toolchain shell.nix
This commit is contained in:
parent
5d9aab2043
commit
33d279ef26
1 changed files with 15 additions and 0 deletions
15
shell.nix
Normal file
15
shell.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
let
|
||||||
|
nixpkgs = <nixpkgs>;
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
config = { };
|
||||||
|
overlays = [ ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
rustfmt
|
||||||
|
clippy
|
||||||
|
];
|
||||||
|
}
|
Reference in a new issue