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 = ./..; revCount = 56789; shortRev = "gfedcba"; }
6, stableBranch ? false
7, supportedSystems ? [ "x86_64-linux" "i686-linux" ]
8}:
9
10let
11
12 nixpkgsSrc = nixpkgs; # urgh
13
14 pkgs = import ./.. {};
15
16 removeMaintainers = set: if builtins.isAttrs set
17 then if (set.type or "") == "derivation"
18 then set // { meta = builtins.removeAttrs (set.meta or {}) [ "maintainers" ]; }
19 else pkgs.lib.mapAttrs (n: v: removeMaintainers v) set
20 else set;
21
22in rec {
23
24 nixos = removeMaintainers (import ./release.nix {
25 inherit stableBranch supportedSystems;
26 nixpkgs = nixpkgsSrc;
27 });
28
29 nixpkgs = builtins.removeAttrs (removeMaintainers (import ../pkgs/top-level/release.nix {
30 inherit supportedSystems;
31 nixpkgs = nixpkgsSrc;
32 })) [ "unstable" ];
33
34 tested = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
35 name = "nixos-${nixos.channel.version}";
36 meta = {
37 description = "Release-critical builds for the NixOS channel";
38 maintainers = [ pkgs.lib.maintainers.eelco ];
39 };
40 constituents =
41 let all = x: map (system: x.${system}) supportedSystems; in
42 [ nixos.channel
43 (all nixos.dummy)
44 (all nixos.manual)
45
46 (all nixos.iso_minimal)
47 (all nixos.iso_graphical)
48 (all nixos.ova)
49
50 #(all nixos.tests.containers)
51 (all nixos.tests.chromium)
52 (all nixos.tests.firefox)
53 (all nixos.tests.firewall)
54 (all nixos.tests.gnome3)
55 (all nixos.tests.installer.lvm)
56 (all nixos.tests.installer.luksroot)
57 (all nixos.tests.installer.separateBoot)
58 (all nixos.tests.installer.separateBootFat)
59 (all nixos.tests.installer.simple)
60 (all nixos.tests.installer.simpleLabels)
61 (all nixos.tests.installer.simpleProvided)
62 (all nixos.tests.installer.swraid)
63 (all nixos.tests.installer.btrfsSimple)
64 (all nixos.tests.installer.btrfsSubvols)
65 (all nixos.tests.installer.btrfsSubvolDefault)
66 (all nixos.tests.bootBiosCdrom)
67 (all nixos.tests.ipv6)
68 (all nixos.tests.kde4)
69 #(all nixos.tests.lightdm)
70 (all nixos.tests.login)
71 (all nixos.tests.misc)
72 (all nixos.tests.nat.firewall)
73 (all nixos.tests.nat.standalone)
74 (all nixos.tests.networking.scripted.static)
75 (all nixos.tests.networking.scripted.dhcpSimple)
76 (all nixos.tests.networking.scripted.dhcpOneIf)
77 (all nixos.tests.networking.scripted.bond)
78 (all nixos.tests.networking.scripted.bridge)
79 (all nixos.tests.networking.scripted.macvlan)
80 (all nixos.tests.networking.scripted.sit)
81 (all nixos.tests.networking.scripted.vlan)
82 (all nixos.tests.nfs3)
83 (all nixos.tests.openssh)
84 (all nixos.tests.printing)
85 (all nixos.tests.proxy)
86 (all nixos.tests.simple)
87 (all nixos.tests.udisks2)
88 (all nixos.tests.xfce)
89
90 nixpkgs.tarball
91 (all nixpkgs.emacs)
92 (all nixpkgs.jdk)
93 ];
94 });
95
96}