1# This jobset defines the main NixOS channels (such as nixos-unstable
2# and nixos-14.04). The channel is updated every time the ‘tested’ job
3# succeeds, and all other jobs have finished (they may fail).
4
5{ nixpkgs ? { outPath = (import ../lib).cleanSource ./..; revCount = 56789; shortRev = "gfedcba"; }
6, stableBranch ? false
7, supportedSystems ? [ "x86_64-linux" ]
8, limitedSupportedSystems ? [ "i686-linux" ]
9}:
10
11let
12
13 nixpkgsSrc = nixpkgs; # urgh
14
15 pkgs = import ./.. {};
16
17 removeMaintainers = set: if builtins.isAttrs set
18 then if (set.type or "") == "derivation"
19 then set // { meta = builtins.removeAttrs (set.meta or {}) [ "maintainers" ]; }
20 else pkgs.lib.mapAttrs (n: v: removeMaintainers v) set
21 else set;
22
23 allSupportedNixpkgs = builtins.removeAttrs (removeMaintainers (import ../pkgs/top-level/release.nix {
24 supportedSystems = supportedSystems ++ limitedSupportedSystems;
25 nixpkgs = nixpkgsSrc;
26 })) [ "unstable" ];
27
28in rec {
29
30 nixos = removeMaintainers (import ./release.nix {
31 inherit stableBranch;
32 supportedSystems = supportedSystems ++ limitedSupportedSystems;
33 nixpkgs = nixpkgsSrc;
34 });
35
36 nixpkgs = builtins.removeAttrs (removeMaintainers (import ../pkgs/top-level/release.nix {
37 inherit supportedSystems;
38 nixpkgs = nixpkgsSrc;
39 })) [ "unstable" ];
40
41 tested = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
42 name = "nixos-${nixos.channel.version}";
43 meta = {
44 description = "Release-critical builds for the NixOS channel";
45 maintainers = with pkgs.lib.maintainers; [ eelco fpletz ];
46 };
47 constituents =
48 let
49 all = x: map (system: x.${system}) supportedSystems;
50 in [
51 nixos.channel
52 (all nixos.dummy)
53 (all nixos.manual)
54
55 nixos.iso_minimal.x86_64-linux
56 nixos.iso_minimal.i686-linux
57 nixos.iso_graphical.x86_64-linux
58 nixos.ova.x86_64-linux
59
60 #(all nixos.tests.containers)
61 nixos.tests.chromium.x86_64-linux
62 (all nixos.tests.firefox)
63 (all nixos.tests.firewall)
64 (all nixos.tests.gnome3)
65 nixos.tests.installer.zfsroot.x86_64-linux # ZFS is 64bit only
66 (all nixos.tests.installer.lvm)
67 (all nixos.tests.installer.luksroot)
68 (all nixos.tests.installer.separateBoot)
69 (all nixos.tests.installer.separateBootFat)
70 (all nixos.tests.installer.simple)
71 (all nixos.tests.installer.simpleLabels)
72 (all nixos.tests.installer.simpleProvided)
73 (all nixos.tests.installer.simpleUefiSystemdBoot)
74 (all nixos.tests.installer.swraid)
75 (all nixos.tests.installer.btrfsSimple)
76 (all nixos.tests.installer.btrfsSubvols)
77 (all nixos.tests.installer.btrfsSubvolDefault)
78 (all nixos.tests.boot.biosCdrom)
79 #(all nixos.tests.boot.biosUsb) # disabled due to issue #15690
80 (all nixos.tests.boot.uefiCdrom)
81 (all nixos.tests.boot.uefiUsb)
82 (all nixos.tests.boot-stage1)
83 (all nixos.tests.hibernate)
84 nixos.tests.docker.x86_64-linux
85 (all nixos.tests.ecryptfs)
86 (all nixos.tests.env)
87 (all nixos.tests.ipv6)
88 (all nixos.tests.i3wm)
89 (all nixos.tests.keymap.azerty)
90 (all nixos.tests.keymap.colemak)
91 (all nixos.tests.keymap.dvorak)
92 (all nixos.tests.keymap.dvp)
93 (all nixos.tests.keymap.neo)
94 (all nixos.tests.keymap.qwertz)
95 (all nixos.tests.plasma5)
96 #(all nixos.tests.lightdm)
97 (all nixos.tests.login)
98 (all nixos.tests.misc)
99 (all nixos.tests.mutableUsers)
100 (all nixos.tests.nat.firewall)
101 (all nixos.tests.nat.standalone)
102 (all nixos.tests.networking.scripted.loopback)
103 (all nixos.tests.networking.scripted.static)
104 (all nixos.tests.networking.scripted.dhcpSimple)
105 (all nixos.tests.networking.scripted.dhcpOneIf)
106 (all nixos.tests.networking.scripted.bond)
107 (all nixos.tests.networking.scripted.bridge)
108 (all nixos.tests.networking.scripted.macvlan)
109 (all nixos.tests.networking.scripted.sit)
110 (all nixos.tests.networking.scripted.vlan)
111 (all nixos.tests.nfs3)
112 (all nixos.tests.nfs4)
113 (all nixos.tests.openssh)
114 (all nixos.tests.php-pcre)
115 (all nixos.tests.printing)
116 (all nixos.tests.proxy)
117 (all nixos.tests.sddm.default)
118 (all nixos.tests.simple)
119 (all nixos.tests.slim)
120 (all nixos.tests.switchTest)
121 (all nixos.tests.udisks2)
122 (all nixos.tests.xfce)
123
124 nixpkgs.tarball
125 (all allSupportedNixpkgs.emacs)
126 (all allSupportedNixpkgs.jdk)
127 ];
128 });
129
130}