···11+# This jobset defines the main NixOS channels (such as nixos-unstable
22+# and nixos-14.04). The channel is updated every time the ‘tested’ job
33+# succeeds, and all other jobs have finished (they may fail).
44+15{ nixpkgs ? { outPath = ./..; revCount = 56789; shortRev = "gfedcba"; }
26, stableBranch ? false
37, supportedSystems ? [ "x86_64-linux" "i686-linux" ]
···1822in rec {
19232024 nixos = removeMaintainers (import ./release.nix {
2121- inherit stableBranch;
2525+ inherit stableBranch supportedSystems;
2226 nixpkgs = nixpkgsSrc;
2327 });
2428···3034 tested = pkgs.releaseTools.aggregate {
3135 name = "nixos-${nixos.channel.version}";
3236 meta = {
3333- description = "Release-critical builds for the NixOS unstable channel";
3434- maintainers = [ pkgs.lib.maintainers.eelco pkgs.lib.maintainers.shlevy ];
3737+ description = "Release-critical builds for the NixOS channel";
3838+ maintainers = [ pkgs.lib.maintainers.eelco ];
3539 };
3640 constituents =
3737- let all = x: map (p: x.${p}) supportedSystems; in
4141+ let all = x: map (system: x.${system}) supportedSystems; in
3842 [ nixos.channel
4343+ (all nixos.dummy)
3944 (all nixos.manual)
40454146 (all nixos.iso_minimal)
+10
nixos/release.nix
···186186 );
187187188188189189+ # Ensure that all packages used by the minimal NixOS config end up in the channel.
190190+ dummy = forAllSystems (system: pkgs.runCommand "dummy"
191191+ { propagatedBuildInputs = (import lib/eval-config.nix {
192192+ inherit system;
193193+ modules = lib.singleton ({ config, pkgs, ... }: { });
194194+ }).config.environment.systemPackages;
195195+ }
196196+ "mkdir $out; fixupPhase");
197197+198198+189199 # Provide a tarball that can be unpacked into an SD card, and easily
190200 # boot that system from uboot (like for the sheevaplug).
191201 # The pc variant helps preparing the expression for the system tarball