about summary refs log tree commit diff
path: root/hydra/jobsets.nix
blob: 07c0faba42ef34b7c509a0e97e0d250bde64e263 (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
25
26
27
28
29
30
31
32
33
34
{ nixpkgs, ... }:

let
  pkgs = import nixpkgs {};

  jobsets = {
    main = {
      enabled = 1;
      hidden = false;
      description = "main branch";
      nixexprinput = "nixrc";
      nixexprpath = "hydra/default.nix";
      checkinterval = 300;
      schedulingshares = 100;
      enableemail = false;
      emailoverride = "";
      keepnr = 1;
      inputs = {
        nixrc = {
          type = "git";
          value = "https://git.exotic.sh/pub/sefidel/nixrc main";
          emailresponsible = false;
        };
        nixpkgs = {
          type = "git";
          value = "https://github.com/NixOS/nixpkgs.git nixos-unstable";
          emailresponsible = false;
        };
      };
    };
  };
in {
  jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets);
}