aboutsummaryrefslogtreecommitdiff
path: root/root/nix/apps.nix
blob: 7421234cee3d0d3910f4ed68414ebab9f7f9f3fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  perSystem =
    { pkgs, ... }:
    {
      apps.checks = {
        type = "app";
        program = toString (
          pkgs.writeShellScript "lint" ''
            set -e

            "${pkgs.nix-fast-build}/bin/nix-fast-build" --skip-cached --no-link "$@"
          ''
        );
        meta.description = "run all the nix checks in parallel";
      };
    };
}