| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  | # This jobset is used to generate a NixOS channel that contains a | 
					
						
							|  |  |  | # small subset of Nixpkgs, mostly useful for servers that need fast | 
					
						
							|  |  |  | # security updates. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-01 10:34:03 +01:00
										 |  |  | { nixpkgs ? { outPath = (import ../lib).cleanSource ./..; revCount = 56789; shortRev = "gfedcba"; } | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  | , stableBranch ? false | 
					
						
							|  |  |  | , supportedSystems ? [ "x86_64-linux" ] # no i686-linux | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | let | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixpkgsSrc = nixpkgs; # urgh | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-19 12:01:31 +02:00
										 |  |  |   pkgs = import ./.. { system = "x86_64-linux"; }; | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   lib = pkgs.lib; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixos' = import ./release.nix { | 
					
						
							|  |  |  |     inherit stableBranch supportedSystems; | 
					
						
							|  |  |  |     nixpkgs = nixpkgsSrc; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixpkgs' = builtins.removeAttrs (import ../pkgs/top-level/release.nix { | 
					
						
							|  |  |  |     inherit supportedSystems; | 
					
						
							|  |  |  |     nixpkgs = nixpkgsSrc; | 
					
						
							|  |  |  |   }) [ "unstable" ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | in rec { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixos = { | 
					
						
							| 
									
										
										
										
											2020-11-19 17:45:40 -05:00
										 |  |  |     inherit (nixos') channel manual options iso_minimal amazonImage dummy; | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |     tests = { | 
					
						
							|  |  |  |       inherit (nixos'.tests) | 
					
						
							| 
									
										
										
										
											2016-04-26 22:38:47 +02:00
										 |  |  |         containers-imperative | 
					
						
							| 
									
										
										
										
											2019-11-26 00:44:12 +01:00
										 |  |  |         containers-ip | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |         firewall | 
					
						
							|  |  |  |         ipv6 | 
					
						
							|  |  |  |         login | 
					
						
							|  |  |  |         misc | 
					
						
							|  |  |  |         nat | 
					
						
							|  |  |  |         nfs3 | 
					
						
							|  |  |  |         openssh | 
					
						
							| 
									
										
										
										
											2020-03-31 19:06:04 +02:00
										 |  |  |         php | 
					
						
							| 
									
										
										
										
											2018-02-09 18:40:39 +00:00
										 |  |  |         predictable-interface-names | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |         proxy | 
					
						
							|  |  |  |         simple; | 
					
						
							|  |  |  |       installer = { | 
					
						
							|  |  |  |         inherit (nixos'.tests.installer) | 
					
						
							|  |  |  |           lvm | 
					
						
							|  |  |  |           separateBoot | 
					
						
							|  |  |  |           simple; | 
					
						
							|  |  |  |       }; | 
					
						
							| 
									
										
										
										
											2018-02-27 20:09:07 +01:00
										 |  |  |       boot = { | 
					
						
							|  |  |  |         inherit (nixos'.tests.boot) | 
					
						
							|  |  |  |           biosCdrom; | 
					
						
							|  |  |  |       }; | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |     }; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixpkgs = { | 
					
						
							|  |  |  |     inherit (nixpkgs') | 
					
						
							| 
									
										
										
										
											2017-01-27 15:30:33 +01:00
										 |  |  |       apacheHttpd | 
					
						
							| 
									
										
										
										
											2014-09-25 17:52:25 +02:00
										 |  |  |       cmake | 
					
						
							|  |  |  |       cryptsetup | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |       emacs | 
					
						
							| 
									
										
										
										
											2014-09-25 17:52:25 +02:00
										 |  |  |       gettext | 
					
						
							|  |  |  |       git | 
					
						
							|  |  |  |       imagemagick | 
					
						
							| 
									
										
										
										
											2015-01-01 15:49:20 -08:00
										 |  |  |       jdk | 
					
						
							| 
									
										
										
										
											2014-09-25 17:52:25 +02:00
										 |  |  |       linux | 
					
						
							| 
									
										
										
										
											2017-01-27 15:30:48 +01:00
										 |  |  |       mysql | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |       nginx | 
					
						
							| 
									
										
										
										
											2014-09-25 12:50:08 +02:00
										 |  |  |       nodejs | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |       openssh | 
					
						
							|  |  |  |       php | 
					
						
							| 
									
										
										
										
											2017-01-27 15:30:48 +01:00
										 |  |  |       postgresql | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |       python | 
					
						
							|  |  |  |       rsyslog | 
					
						
							|  |  |  |       stdenv | 
					
						
							| 
									
										
										
										
											2014-09-25 17:52:25 +02:00
										 |  |  |       subversion | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |       tarball | 
					
						
							|  |  |  |       vim; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-17 16:35:53 +01:00
										 |  |  |   tested = pkgs.releaseTools.aggregate { | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |     name = "nixos-${nixos.channel.version}"; | 
					
						
							|  |  |  |     meta = { | 
					
						
							|  |  |  |       description = "Release-critical builds for the NixOS channel"; | 
					
						
							|  |  |  |       maintainers = [ lib.maintainers.eelco ]; | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  |     constituents = | 
					
						
							| 
									
										
										
										
											2020-02-17 16:35:53 +01:00
										 |  |  |       [ "nixos.channel" | 
					
						
							|  |  |  |         "nixos.dummy.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.iso_minimal.x86_64-linux" | 
					
						
							| 
									
										
										
										
											2020-11-18 18:02:08 -05:00
										 |  |  |         "nixos.amazonImage.x86_64-linux" | 
					
						
							| 
									
										
										
										
											2020-02-17 16:35:53 +01:00
										 |  |  |         "nixos.manual.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.boot.biosCdrom.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.containers-imperative.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.containers-ip.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.firewall.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.installer.lvm.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.installer.separateBoot.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.installer.simple.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.ipv6.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.login.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.misc.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.nat.firewall-conntrack.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.nat.firewall.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.nat.standalone.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.nfs3.simple.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.openssh.x86_64-linux" | 
					
						
							| 
									
										
										
										
											2020-04-06 00:25:11 +02:00
										 |  |  |         "nixos.tests.php.fpm.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.php.pcre.x86_64-linux" | 
					
						
							| 
									
										
										
										
											2020-02-17 16:35:53 +01:00
										 |  |  |         "nixos.tests.predictable-interface-names.predictable.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.predictable-interface-names.predictableNetworkd.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.predictable-interface-names.unpredictable.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.predictable-interface-names.unpredictableNetworkd.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.proxy.x86_64-linux" | 
					
						
							|  |  |  |         "nixos.tests.simple.x86_64-linux" | 
					
						
							|  |  |  |         "nixpkgs.jdk.x86_64-linux" | 
					
						
							|  |  |  |         "nixpkgs.tarball" | 
					
						
							|  |  |  |       ]; | 
					
						
							|  |  |  |   }; | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | } |