1 # This jobset is used to generate a NixOS channel that contains a
2 # small subset of Nixpkgs, mostly useful for servers that need fast
5 { nixpkgs ? { outPath = (import ../lib).cleanSource ./..; revCount = 56789; shortRev = "gfedcba"; }
7 , supportedSystems ? [ "aarch64-linux" "x86_64-linux" ] # no i686-linux
12 nixpkgsSrc = nixpkgs; # urgh
14 pkgs = import ./.. { system = "x86_64-linux"; };
18 nixos' = import ./release.nix {
19 inherit stableBranch supportedSystems;
23 nixpkgs' = builtins.removeAttrs (import ../pkgs/top-level/release.nix {
24 inherit supportedSystems;
31 inherit (nixos') channel manual options iso_minimal amazonImage dummy;
33 inherit (nixos'.tests)
42 # fails with kernel >= 5.15 https://github.com/NixOS/nixpkgs/pull/152505#issuecomment-1005049314
46 predictable-interface-names
50 inherit (nixos'.tests.installer)
56 inherit (nixos'.tests.boot)
89 onSupported = x: map (system: "${x}.${system}") supportedSystems;
90 onSystems = systems: x: map (system: "${x}.${system}")
91 (pkgs.lib.intersectLists systems supportedSystems);
92 in pkgs.releaseTools.aggregate {
93 name = "nixos-${nixos.channel.version}";
95 description = "Release-critical builds for the NixOS channel";
96 maintainers = [ lib.maintainers.eelco ];
98 constituents = lib.flatten [
103 (map (onSystems [ "x86_64-linux" ]) [
104 "nixos.tests.boot.biosCdrom"
105 "nixos.tests.installer.lvm"
106 "nixos.tests.installer.separateBoot"
107 "nixos.tests.installer.simple"
115 "nixos.tests.boot.uefiCdrom"
116 "nixos.tests.containers-imperative"
117 "nixos.tests.containers-ip"
118 "nixos.tests.firewall"
122 "nixos.tests.nat.firewall-conntrack"
123 "nixos.tests.nat.firewall"
124 "nixos.tests.nat.standalone"
125 # fails with kernel >= 5.15 https://github.com/NixOS/nixpkgs/pull/152505#issuecomment-1005049314
126 #"nixos.tests.nfs3.simple"
127 "nixos.tests.openssh"
128 "nixos.tests.php.fpm"
129 "nixos.tests.php.pcre"
130 "nixos.tests.predictable-interface-names.predictable"
131 "nixos.tests.predictable-interface-names.predictableNetworkd"
132 "nixos.tests.predictable-interface-names.unpredictable"
133 "nixos.tests.predictable-interface-names.unpredictableNetworkd"