summaryrefslogtreecommitdiff
path: root/test/flake.nix
blob: fb4547cd4008b5d061e41f80dc4fa61fb7164d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  inputs = {
    nixpkgs.url = "nixpkgs/nixpkgs-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = {
    nixpkgs,
    flake-utils,
    ...
  }:
    flake-utils.lib.eachDefaultSystem (system: let
      pkgs = nixpkgs.legacyPackages.${system};
      flake-checks' = (import ../.).mkChecks {
        inherit pkgs;
        root = ../.;
      };
    in {
      checks = flake-checks';
    });
}