vim: 9.1.0905 -> 9.1.0990 (#371433)
[NixPkgs.git] / nixos / release-combined.nix
blob3b1c85a441429399d0815f2dced2f8613d5a972f
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).
6   nixpkgs ? {
7     outPath = (import ../lib).cleanSource ./..;
8     revCount = 56789;
9     shortRev = "gfedcba";
10   },
11   stableBranch ? false,
12   supportedSystems ? [
13     "aarch64-linux"
14     "x86_64-linux"
15   ],
16   limitedSupportedSystems ? [ ],
19 let
21   nixpkgsSrc = nixpkgs; # urgh
23   pkgs = import ./.. { };
25   removeMaintainers =
26     set:
27     if builtins.isAttrs set then
28       if (set.type or "") == "derivation" then
29         set // { meta = builtins.removeAttrs (set.meta or { }) [ "maintainers" ]; }
30       else
31         pkgs.lib.mapAttrs (n: v: removeMaintainers v) set
32     else
33       set;
36 rec {
38   nixos = removeMaintainers (
39     import ./release.nix {
40       inherit stableBranch;
41       supportedSystems = supportedSystems ++ limitedSupportedSystems;
42       nixpkgs = nixpkgsSrc;
43     }
44   );
46   nixpkgs = builtins.removeAttrs (removeMaintainers (
47     import ../pkgs/top-level/release.nix {
48       inherit supportedSystems;
49       nixpkgs = nixpkgsSrc;
50     }
51   )) [ "unstable" ];
53   tested =
54     let
55       onFullSupported = x: map (system: "${x}.${system}") supportedSystems;
56       onAllSupported = x: map (system: "${x}.${system}") (supportedSystems ++ limitedSupportedSystems);
57       onSystems =
58         systems: x:
59         map (system: "${x}.${system}") (
60           pkgs.lib.intersectLists systems (supportedSystems ++ limitedSupportedSystems)
61         );
62     in
63     pkgs.releaseTools.aggregate {
64       name = "nixos-${nixos.channel.version}";
65       meta = {
66         description = "Release-critical builds for the NixOS channel";
67         maintainers = with pkgs.lib.maintainers; [ ];
68       };
69       constituents = pkgs.lib.concatLists [
70         [ "nixos.channel" ]
71         (onFullSupported "nixos.dummy")
72         (onAllSupported "nixos.iso_minimal")
73         (onSystems [ "x86_64-linux" "aarch64-linux" ] "nixos.amazonImage")
74         (onFullSupported "nixos.iso_plasma6")
75         (onFullSupported "nixos.iso_gnome")
76         (onFullSupported "nixos.manual")
77         (onSystems [ "aarch64-linux" ] "nixos.sd_image")
78         (onFullSupported "nixos.tests.acme")
79         (onSystems [ "x86_64-linux" ] "nixos.tests.boot.biosCdrom")
80         (onSystems [ "x86_64-linux" ] "nixos.tests.boot.biosUsb")
81         (onFullSupported "nixos.tests.boot-stage1")
82         (onFullSupported "nixos.tests.boot.uefiCdrom")
83         (onFullSupported "nixos.tests.boot.uefiUsb")
84         (onFullSupported "nixos.tests.chromium")
85         (onFullSupported "nixos.tests.containers-imperative")
86         (onFullSupported "nixos.tests.containers-ip")
87         (onSystems [ "x86_64-linux" ] "nixos.tests.docker")
88         (onFullSupported "nixos.tests.ecryptfs")
89         (onFullSupported "nixos.tests.env")
91         # Way too many manual retries required on Hydra.
92         #  Apparently it's hard to track down the cause.
93         #  So let's depend just on the packages for now.
94         #(onFullSupported "nixos.tests.firefox-esr")
95         #(onFullSupported "nixos.tests.firefox")
96         # Note: only -unwrapped variants have a Hydra job.
97         (onFullSupported "nixpkgs.firefox-esr-unwrapped")
98         (onFullSupported "nixpkgs.firefox-unwrapped")
100         (onFullSupported "nixos.tests.firewall")
101         (onFullSupported "nixos.tests.fontconfig-default-fonts")
102         (onFullSupported "nixos.tests.gitlab")
103         (onFullSupported "nixos.tests.gnome")
104         (onFullSupported "nixos.tests.gnome-xorg")
105         (onSystems [ "x86_64-linux" ] "nixos.tests.hibernate")
106         (onFullSupported "nixos.tests.i3wm")
107         (onSystems [ "aarch64-linux" ] "nixos.tests.installer.simpleUefiSystemdBoot")
108         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.btrfsSimple")
109         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.btrfsSubvolDefault")
110         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.btrfsSubvolEscape")
111         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.btrfsSubvols")
112         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.luksroot")
113         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.lvm")
114         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.separateBootZfs")
115         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.separateBootFat")
116         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.separateBoot")
117         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.simpleLabels")
118         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.simpleProvided")
119         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.simpleUefiSystemdBoot")
120         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.simple")
121         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.swraid")
122         (onSystems [ "x86_64-linux" ] "nixos.tests.installer.zfsroot")
123         (onSystems [ "x86_64-linux" ] "nixos.tests.nixos-rebuild-specialisations")
124         (onFullSupported "nixos.tests.nix-misc.default")
125         (onFullSupported "nixos.tests.ipv6")
126         (onFullSupported "nixos.tests.keymap.azerty")
127         (onFullSupported "nixos.tests.keymap.colemak")
128         (onFullSupported "nixos.tests.keymap.dvorak")
129         (onFullSupported "nixos.tests.keymap.dvorak-programmer")
130         (onFullSupported "nixos.tests.keymap.neo")
131         (onFullSupported "nixos.tests.keymap.qwertz")
132         (onFullSupported "nixos.tests.latestKernel.login")
133         (onFullSupported "nixos.tests.lightdm")
134         (onFullSupported "nixos.tests.login")
135         (onFullSupported "nixos.tests.misc")
136         (onFullSupported "nixos.tests.mutableUsers")
137         (onFullSupported "nixos.tests.nat.firewall")
138         (onFullSupported "nixos.tests.nat.standalone")
139         (onFullSupported "nixos.tests.networking.scripted.bond")
140         (onFullSupported "nixos.tests.networking.scripted.bridge")
141         (onFullSupported "nixos.tests.networking.scripted.dhcpOneIf")
142         (onFullSupported "nixos.tests.networking.scripted.dhcpSimple")
143         (onFullSupported "nixos.tests.networking.scripted.link")
144         (onFullSupported "nixos.tests.networking.scripted.loopback")
145         (onFullSupported "nixos.tests.networking.scripted.macvlan")
146         (onFullSupported "nixos.tests.networking.scripted.privacy")
147         (onFullSupported "nixos.tests.networking.scripted.routes")
148         (onFullSupported "nixos.tests.networking.scripted.sit")
149         (onFullSupported "nixos.tests.networking.scripted.static")
150         (onFullSupported "nixos.tests.networking.scripted.virtual")
151         (onFullSupported "nixos.tests.networking.scripted.vlan")
152         (onFullSupported "nixos.tests.networking.networkd.bond")
153         (onFullSupported "nixos.tests.networking.networkd.bridge")
154         (onFullSupported "nixos.tests.networking.networkd.dhcpOneIf")
155         (onFullSupported "nixos.tests.networking.networkd.dhcpSimple")
156         (onFullSupported "nixos.tests.networking.networkd.link")
157         (onFullSupported "nixos.tests.networking.networkd.loopback")
158         # Fails nondeterministically (https://github.com/NixOS/nixpkgs/issues/96709)
159         #(onFullSupported "nixos.tests.networking.networkd.macvlan")
160         (onFullSupported "nixos.tests.networking.networkd.privacy")
161         (onFullSupported "nixos.tests.networking.networkd.routes")
162         (onFullSupported "nixos.tests.networking.networkd.sit")
163         (onFullSupported "nixos.tests.networking.networkd.static")
164         (onFullSupported "nixos.tests.networking.networkd.virtual")
165         (onFullSupported "nixos.tests.networking.networkd.vlan")
166         (onFullSupported "nixos.tests.systemd-networkd-ipv6-prefix-delegation")
167         (onFullSupported "nixos.tests.nfs4.simple")
168         (onSystems [ "x86_64-linux" ] "nixos.tests.oci-containers.podman")
169         (onFullSupported "nixos.tests.openssh")
170         (onFullSupported "nixos.tests.pantheon")
171         (onFullSupported "nixos.tests.php.fpm")
172         (onFullSupported "nixos.tests.php.httpd")
173         (onFullSupported "nixos.tests.php.pcre")
174         (onFullSupported "nixos.tests.plasma5")
175         (onSystems [ "x86_64-linux" ] "nixos.tests.podman")
176         (onFullSupported "nixos.tests.predictable-interface-names.predictableNetworkd")
177         (onFullSupported "nixos.tests.predictable-interface-names.predictable")
178         (onFullSupported "nixos.tests.predictable-interface-names.unpredictableNetworkd")
179         (onFullSupported "nixos.tests.predictable-interface-names.unpredictable")
180         (onFullSupported "nixos.tests.printing-service")
181         (onFullSupported "nixos.tests.printing-socket")
182         (onFullSupported "nixos.tests.proxy")
183         (onFullSupported "nixos.tests.sddm.default")
184         (onFullSupported "nixos.tests.shadow")
185         (onFullSupported "nixos.tests.simple")
186         (onFullSupported "nixos.tests.sway")
187         (onFullSupported "nixos.tests.switchTest")
188         (onFullSupported "nixos.tests.udisks2")
189         (onFullSupported "nixos.tests.xfce")
190         (onFullSupported "nixpkgs.emacs")
191         (onFullSupported "nixpkgs.jdk")
192         (onSystems [ "x86_64-linux" ] "nixpkgs.mesa_i686") # i686 sanity check + useful
193         [
194           "nixpkgs.tarball"
195           "nixpkgs.release-checks"
196         ]
197       ];
198     };