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 # Individual jobs can be tested by running:
7 # nix-build nixos/release-small.nix -A <jobname>
11 outPath = (import ../lib).cleanSource ./..;
24 nixpkgsSrc = nixpkgs; # urgh
26 pkgs = import ./.. { system = "x86_64-linux"; };
30 nixos' = import ./release.nix {
31 inherit stableBranch supportedSystems;
35 nixpkgs' = builtins.removeAttrs (import ../pkgs/top-level/release.nix {
36 inherit supportedSystems;
51 inherit (nixos'.tests)
63 predictable-interface-names
68 inherit (nixos'.tests.installer)
103 tests-stdenv-gcc-stageCompare
109 onSupported = x: map (system: "${x}.${system}") supportedSystems;
111 systems: x: map (system: "${x}.${system}") (pkgs.lib.intersectLists systems supportedSystems);
113 pkgs.releaseTools.aggregate {
114 name = "nixos-${nixos.channel.version}";
116 description = "Release-critical builds for the NixOS channel";
119 constituents = lib.flatten [
123 "nixpkgs.release-checks"
125 (map (onSystems [ "x86_64-linux" ]) [
126 "nixos.tests.installer.lvm"
127 "nixos.tests.installer.separateBoot"
128 "nixos.tests.installer.simple"
134 "nixos.tests.containers-imperative"
135 "nixos.tests.containers-ip"
136 "nixos.tests.firewall"
138 "nixos.tests.installer.simpleUefiSystemdBoot"
141 "nixos.tests.nat.firewall"
142 "nixos.tests.nat.standalone"
143 "nixos.tests.nfs4.simple"
144 "nixos.tests.openssh"
145 "nixos.tests.php.fpm"
146 "nixos.tests.php.pcre"
147 "nixos.tests.predictable-interface-names.predictable"
148 "nixos.tests.predictable-interface-names.predictableNetworkd"
149 "nixos.tests.predictable-interface-names.unpredictable"
150 "nixos.tests.predictable-interface-names.unpredictableNetworkd"
154 "nixpkgs.tests-stdenv-gcc-stageCompare"
155 "nixpkgs.opensshTest"