aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 7581784eec0b04e7a0b234670d2634a21bc85436 (plain) (blame)
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 = {
    flake-utils.url = "github:numtide/flake-utils";
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
  };

  outputs = { self, nixpkgs, flake-utils, ... }:
    let
      shell = { pkgs, ... }:
        pkgs.mkShell {
          buildInputs = with pkgs; [
            cmake
            gnumake
            pkgs.qt6.full
            clang-tools
          ];
        };
    in flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; };
      in {
        devShells.default = shell { inherit pkgs system; };
      });
}