aboutsummaryrefslogtreecommitdiff
path: root/root/nix/apps.nix
blob: 33f10f57388a722e2d44a3dfb95cd1658a51987e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  perSystem =
    { pkgs, ... }:
    {
      apps.lint = {
        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";
      };
    };
}