| 
									
										
										
										
											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. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | { nixpkgs ? { outPath = ./..; revCount = 56789; shortRev = "gfedcba"; } | 
					
						
							|  |  |  | , stableBranch ? false | 
					
						
							|  |  |  | , supportedSystems ? [ "x86_64-linux" ] # no i686-linux | 
					
						
							|  |  |  | }: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | let | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   nixpkgsSrc = nixpkgs; # urgh | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   pkgs = import ./.. {}; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   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 = { | 
					
						
							|  |  |  |     inherit (nixos') channel manual iso_minimal dummy; | 
					
						
							|  |  |  |     tests = { | 
					
						
							|  |  |  |       inherit (nixos'.tests) | 
					
						
							| 
									
										
										
										
											2016-04-26 22:38:47 +02:00
										 |  |  |         containers-imperative | 
					
						
							|  |  |  |         containers-ipv4 | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  |         firewall | 
					
						
							|  |  |  |         ipv6 | 
					
						
							|  |  |  |         login | 
					
						
							|  |  |  |         misc | 
					
						
							|  |  |  |         nat | 
					
						
							|  |  |  |         nfs3 | 
					
						
							|  |  |  |         openssh | 
					
						
							|  |  |  |         proxy | 
					
						
							|  |  |  |         simple; | 
					
						
							|  |  |  |       installer = { | 
					
						
							|  |  |  |         inherit (nixos'.tests.installer) | 
					
						
							|  |  |  |           lvm | 
					
						
							|  |  |  |           separateBoot | 
					
						
							|  |  |  |           simple; | 
					
						
							|  |  |  |       }; | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   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; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-03-20 19:23:55 +01:00
										 |  |  |   tested = lib.hydraJob (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 = | 
					
						
							|  |  |  |       let all = x: map (system: x.${system}) supportedSystems; in | 
					
						
							| 
									
										
										
										
											2015-07-14 16:01:46 +02:00
										 |  |  |       [ nixpkgs.tarball | 
					
						
							|  |  |  |         (all nixpkgs.jdk) | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |       ++ lib.collect lib.isDerivation nixos; | 
					
						
							| 
									
										
										
										
											2015-03-20 19:23:55 +01:00
										 |  |  |   }); | 
					
						
							| 
									
										
										
										
											2014-09-25 00:22:27 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | } |