Fix builds of free packages (#7)
The license.free field is set to false for non-free packages, for free packages it is set to true or is missing entirely. Thus we need to default the case of a missing field to true, not false.
This commit is contained in:
		
							parent
							
								
									6a90fd0664
								
							
						
					
					
						commit
						4056f4e33d
					
				
							
								
								
									
										2
									
								
								ci.nix
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ci.nix
									
									
									
									
									
								
							@ -17,7 +17,7 @@ let
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  isReserved = n: n == "lib" || n == "overlays" || n == "modules";
 | 
					  isReserved = n: n == "lib" || n == "overlays" || n == "modules";
 | 
				
			||||||
  isDerivation = p: isAttrs p && p ? type && p.type == "derivation";
 | 
					  isDerivation = p: isAttrs p && p ? type && p.type == "derivation";
 | 
				
			||||||
  isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or false;
 | 
					  isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or true;
 | 
				
			||||||
  isCacheable = p: !(p.preferLocalBuild or false);
 | 
					  isCacheable = p: !(p.preferLocalBuild or false);
 | 
				
			||||||
  shouldRecurseForDerivations = p: isAttrs p && p.recurseForDerivations or false;
 | 
					  shouldRecurseForDerivations = p: isAttrs p && p.recurseForDerivations or false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user