 5e4ab19f50
			
		
	
	
		5e4ab19f50
		
	
	
	
	
		
			
			As discussed in the Staging room on Matrix recently. This could probably be a bit bigger than it is: perhaps building packages like `hello`, `hello-cpp`, and `coreutils`, making sure we exercise CMake and Meson, and possibly building Rust too. But I’ve left it at the bare minimum for now since this seems like an obvious Schelling point for what to build on `staging` and keeps any worries about Hydra load or cache size growth to a minimum. Closes: #43618
		
			
				
	
	
		
			44 lines
		
	
	
		
			972 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			972 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # This file defines the builds that are run for the `staging` branch.
 | |
| #
 | |
| # This should be kept minimal to avoid unnecessary load on Hydra; the
 | |
| # point is not to duplicate `staging-next`, but to catch basic issues
 | |
| # early and make bisection less painful.
 | |
| 
 | |
| {
 | |
|   nixpkgs ? {
 | |
|     outPath = (import ../../lib).cleanSource ../..;
 | |
|     revCount = 1234;
 | |
|     shortRev = "abcdef";
 | |
|     revision = "0000000000000000000000000000000000000000";
 | |
|   },
 | |
|   # The platform doubles for which we build Nixpkgs.
 | |
|   supportedSystems ? [
 | |
|     "x86_64-linux"
 | |
|     "x86_64-darwin"
 | |
|     "aarch64-linux"
 | |
|     "aarch64-darwin"
 | |
|   ],
 | |
|   # Attributes passed to nixpkgs. Don't build packages marked as unfree.
 | |
|   nixpkgsArgs ? {
 | |
|     config = {
 | |
|       allowUnfree = false;
 | |
|       inHydra = true;
 | |
|     };
 | |
|     __allowFileset = false;
 | |
|   },
 | |
| }:
 | |
| 
 | |
| let
 | |
|   release-lib = import ./release-lib.nix {
 | |
|     inherit supportedSystems nixpkgsArgs;
 | |
|   };
 | |
| 
 | |
|   inherit (release-lib)
 | |
|     all
 | |
|     mapTestOn
 | |
|     ;
 | |
| in
 | |
| mapTestOn {
 | |
|   stdenv = all;
 | |
| }
 |