trivionomicon/flake: fix 'localOverlay' function interface to accept flakes
This commit is contained in:
		
							parent
							
								
									bf39923f9c
								
							
						
					
					
						commit
						b36942fafb
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -152,10 +152,10 @@ | |||
|             packages.${system} = pkgs.${prefix}; | ||||
| 
 | ||||
|             overlays.default = final: prev: let | ||||
|               overlay = | ||||
|               overlay = final: prev: | ||||
|                 if paths ? localOverlay | ||||
|                 then import localOverlayPath | ||||
|                 else (final: prev: {}); | ||||
|                 then import localOverlayPath {inherit final prev flakes;} | ||||
|                 else {}; | ||||
|             in | ||||
|               mapOverlayOverride prefix overlay final prev | ||||
|               // optionalAttrs (unstable != null) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alejandro Soto
						Alejandro Soto