at 22.05-pre 8.3 kB view raw
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" "aarch64-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 23in rec { 24 25 nixos = removeMaintainers (import ./release.nix { 26 inherit stableBranch; 27 supportedSystems = supportedSystems ++ limitedSupportedSystems; 28 nixpkgs = nixpkgsSrc; 29 }); 30 31 nixpkgs = builtins.removeAttrs (removeMaintainers (import ../pkgs/top-level/release.nix { 32 inherit supportedSystems; 33 nixpkgs = nixpkgsSrc; 34 })) [ "unstable" ]; 35 36 tested = 37 let 38 onFullSupported = x: map (system: "${x}.${system}") supportedSystems; 39 onAllSupported = x: map (system: "${x}.${system}") (supportedSystems ++ limitedSupportedSystems); 40 onSystems = systems: x: map (system: "${x}.${system}") 41 (pkgs.lib.intersectLists systems (supportedSystems ++ limitedSupportedSystems)); 42 in pkgs.releaseTools.aggregate { 43 name = "nixos-${nixos.channel.version}"; 44 meta = { 45 description = "Release-critical builds for the NixOS channel"; 46 maintainers = with pkgs.lib.maintainers; [ eelco fpletz ]; 47 }; 48 constituents = pkgs.lib.concatLists [ 49 [ "nixos.channel" ] 50 (onFullSupported "nixos.dummy") 51 (onAllSupported "nixos.iso_minimal") 52 (onSystems ["x86_64-linux" "aarch64-linux"] "nixos.amazonImage") 53 (onSystems ["x86_64-linux"] "nixos.iso_plasma5") 54 (onSystems ["x86_64-linux"] "nixos.iso_gnome") 55 (onFullSupported "nixos.manual") 56 (onSystems ["x86_64-linux"] "nixos.ova") 57 (onSystems ["aarch64-linux"] "nixos.sd_image") 58 (onSystems ["x86_64-linux"] "nixos.tests.boot.biosCdrom") 59 (onSystems ["x86_64-linux"] "nixos.tests.boot.biosUsb") 60 (onFullSupported "nixos.tests.boot-stage1") 61 (onSystems ["x86_64-linux"] "nixos.tests.boot.uefiCdrom") 62 (onSystems ["x86_64-linux"] "nixos.tests.boot.uefiUsb") 63 (onSystems ["x86_64-linux"] "nixos.tests.chromium") 64 (onFullSupported "nixos.tests.containers-imperative") 65 (onFullSupported "nixos.tests.containers-ip") 66 (onSystems ["x86_64-linux"] "nixos.tests.docker") 67 (onFullSupported "nixos.tests.ecryptfs") 68 (onFullSupported "nixos.tests.env") 69 (onFullSupported "nixos.tests.firefox-esr") 70 (onFullSupported "nixos.tests.firefox") 71 (onFullSupported "nixos.tests.firewall") 72 (onFullSupported "nixos.tests.fontconfig-default-fonts") 73 (onFullSupported "nixos.tests.gnome") 74 (onFullSupported "nixos.tests.gnome-xorg") 75 (onSystems ["x86_64-linux"] "nixos.tests.hibernate") 76 (onFullSupported "nixos.tests.i3wm") 77 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSimple") 78 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvolDefault") 79 (onSystems ["x86_64-linux"] "nixos.tests.installer.btrfsSubvols") 80 (onSystems ["x86_64-linux"] "nixos.tests.installer.luksroot") 81 (onSystems ["x86_64-linux"] "nixos.tests.installer.lvm") 82 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBootFat") 83 (onSystems ["x86_64-linux"] "nixos.tests.installer.separateBoot") 84 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleLabels") 85 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleProvided") 86 (onSystems ["x86_64-linux"] "nixos.tests.installer.simpleUefiSystemdBoot") 87 (onSystems ["x86_64-linux"] "nixos.tests.installer.simple") 88 (onSystems ["x86_64-linux"] "nixos.tests.installer.swraid") 89 (onFullSupported "nixos.tests.ipv6") 90 (onFullSupported "nixos.tests.keymap.azerty") 91 (onFullSupported "nixos.tests.keymap.colemak") 92 (onFullSupported "nixos.tests.keymap.dvorak") 93 (onFullSupported "nixos.tests.keymap.dvorak-programmer") 94 (onFullSupported "nixos.tests.keymap.neo") 95 (onFullSupported "nixos.tests.keymap.qwertz") 96 (onFullSupported "nixos.tests.latestKernel.login") 97 (onFullSupported "nixos.tests.lightdm") 98 (onFullSupported "nixos.tests.login") 99 (onFullSupported "nixos.tests.misc") 100 (onFullSupported "nixos.tests.mutableUsers") 101 (onFullSupported "nixos.tests.nano") 102 (onFullSupported "nixos.tests.nat.firewall-conntrack") 103 (onFullSupported "nixos.tests.nat.firewall") 104 (onFullSupported "nixos.tests.nat.standalone") 105 (onFullSupported "nixos.tests.networking.scripted.bond") 106 (onFullSupported "nixos.tests.networking.scripted.bridge") 107 (onFullSupported "nixos.tests.networking.scripted.dhcpOneIf") 108 (onFullSupported "nixos.tests.networking.scripted.dhcpSimple") 109 (onFullSupported "nixos.tests.networking.scripted.link") 110 (onFullSupported "nixos.tests.networking.scripted.loopback") 111 (onFullSupported "nixos.tests.networking.scripted.macvlan") 112 (onFullSupported "nixos.tests.networking.scripted.privacy") 113 (onFullSupported "nixos.tests.networking.scripted.routes") 114 (onFullSupported "nixos.tests.networking.scripted.sit") 115 (onFullSupported "nixos.tests.networking.scripted.static") 116 (onFullSupported "nixos.tests.networking.scripted.virtual") 117 (onFullSupported "nixos.tests.networking.scripted.vlan") 118 (onFullSupported "nixos.tests.networking.networkd.bond") 119 (onFullSupported "nixos.tests.networking.networkd.bridge") 120 (onFullSupported "nixos.tests.networking.networkd.dhcpOneIf") 121 (onFullSupported "nixos.tests.networking.networkd.dhcpSimple") 122 (onFullSupported "nixos.tests.networking.networkd.link") 123 (onFullSupported "nixos.tests.networking.networkd.loopback") 124 # Fails nondeterministically (https://github.com/NixOS/nixpkgs/issues/96709) 125 #(onFullSupported "nixos.tests.networking.networkd.macvlan") 126 (onFullSupported "nixos.tests.networking.networkd.privacy") 127 (onFullSupported "nixos.tests.networking.networkd.routes") 128 (onFullSupported "nixos.tests.networking.networkd.sit") 129 (onFullSupported "nixos.tests.networking.networkd.static") 130 (onFullSupported "nixos.tests.networking.networkd.virtual") 131 (onFullSupported "nixos.tests.networking.networkd.vlan") 132 (onFullSupported "nixos.tests.systemd-networkd-ipv6-prefix-delegation") 133 (onFullSupported "nixos.tests.nfs3.simple") 134 (onFullSupported "nixos.tests.nfs4.simple") 135 (onFullSupported "nixos.tests.openssh") 136 (onFullSupported "nixos.tests.pantheon") 137 (onFullSupported "nixos.tests.php.fpm") 138 (onFullSupported "nixos.tests.php.httpd") 139 (onFullSupported "nixos.tests.php.pcre") 140 (onFullSupported "nixos.tests.plasma5") 141 (onFullSupported "nixos.tests.predictable-interface-names.predictableNetworkd") 142 (onFullSupported "nixos.tests.predictable-interface-names.predictable") 143 (onFullSupported "nixos.tests.predictable-interface-names.unpredictableNetworkd") 144 (onFullSupported "nixos.tests.predictable-interface-names.unpredictable") 145 (onFullSupported "nixos.tests.printing") 146 (onFullSupported "nixos.tests.proxy") 147 (onFullSupported "nixos.tests.sddm.default") 148 (onFullSupported "nixos.tests.shadow") 149 (onFullSupported "nixos.tests.simple") 150 (onFullSupported "nixos.tests.sway") 151 (onFullSupported "nixos.tests.switchTest") 152 (onFullSupported "nixos.tests.udisks2") 153 (onFullSupported "nixos.tests.xfce") 154 (onSystems ["i686-linux"] "nixos.tests.zfs.installer") 155 (onFullSupported "nixpkgs.emacs") 156 (onFullSupported "nixpkgs.jdk") 157 ["nixpkgs.tarball"] 158 ]; 159 }; 160}