summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 37808145098ee933cedd327326ebd5a3ab03a9a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  inputs = {
    nixpkgs.url = "nixpkgs/nixos-unstable";
    
    fenix = {
      url = "github:nix-community/fenix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, fenix }:
  let
    # TODO: Support more architectures
    system = "x86_64-linux";
    overlays = [ fenix.overlays.default ];
    
    pkgs = import nixpkgs {
      inherit system overlays;
    };
  in
  {
    devShells.${system}.default = pkgs.callPackage ./shell.nix {};
  };
}