nix: use slightly less ambiguous type
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Hakurei (push) Successful in 41s
				
			
		
			
				
	
				Test / Sandbox (push) Successful in 38s
				
			
		
			
				
	
				Test / Create distribution (push) Successful in 33s
				
			
		
			
				
	
				Test / Hakurei (race detector) (push) Successful in 41s
				
			
		
			
				
	
				Test / Sandbox (race detector) (push) Successful in 38s
				
			
		
			
				
	
				Test / Hpkg (push) Successful in 39s
				
			
		
			
				
	
				Test / Flake checks (push) Successful in 1m24s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Hakurei (push) Successful in 41s
				
			Test / Sandbox (push) Successful in 38s
				
			Test / Create distribution (push) Successful in 33s
				
			Test / Hakurei (race detector) (push) Successful in 41s
				
			Test / Sandbox (race detector) (push) Successful in 38s
				
			Test / Hpkg (push) Successful in 39s
				
			Test / Flake checks (push) Successful in 1m24s
				
			I had trouble getting Nix to merge json arrays properly, I am not sure that this helps. At this point I have given up trying to understand Nix type system, and I am just trying to keep the Nix stuff going with extensive tests until it can be replaced by lkl for testing and planterette for general usage. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
		
							parent
							
								
									ca247b8037
								
							
						
					
					
						commit
						70e02090f7
					
				| @ -203,7 +203,7 @@ in | |||||||
|               }; |               }; | ||||||
| 
 | 
 | ||||||
|               extraPaths = mkOption { |               extraPaths = mkOption { | ||||||
|                 type = anything; |                 type = listOf (attrsOf anything); | ||||||
|                 default = [ ]; |                 default = [ ]; | ||||||
|                 description = '' |                 description = '' | ||||||
|                   Extra paths to make available to the container. |                   Extra paths to make available to the container. | ||||||
| @ -261,7 +261,7 @@ in | |||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|       commonPaths = mkOption { |       commonPaths = mkOption { | ||||||
|         type = types.anything; |         type = types.listOf (types.attrsOf types.anything); | ||||||
|         default = [ ]; |         default = [ ]; | ||||||
|         description = '' |         description = '' | ||||||
|           Common extra paths to make available to the container. |           Common extra paths to make available to the container. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user