Full Refactor and history reset
This commit is contained in:
13
flakes/rust.nix
Normal file
13
flakes/rust.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
description = "A simple rust environment";
|
||||
inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; };
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = [ pkgs.rustc pkgs.cargo pkgs.rust-analyzer ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user