aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 21ef39d8c33dddfe1aee2fe1043f7711e23fa871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  description = "Dev shell for kernel/build environment";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

  outputs = { self, nixpkgs }: 
    let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };
    in {
      devShells.${system}.default = pkgs.mkShell {
	packages = with pkgs; [
	  # base-devel equivalent
	  rustc
	];
	
      };
    };
}