forked from fabian/nix
		
	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}; |             packages.${system} = pkgs.${prefix}; | ||||||
| 
 | 
 | ||||||
|             overlays.default = final: prev: let |             overlays.default = final: prev: let | ||||||
|               overlay = |               overlay = final: prev: | ||||||
|                 if paths ? localOverlay |                 if paths ? localOverlay | ||||||
|                 then import localOverlayPath |                 then import localOverlayPath {inherit final prev flakes;} | ||||||
|                 else (final: prev: {}); |                 else {}; | ||||||
|             in |             in | ||||||
|               mapOverlayOverride prefix overlay final prev |               mapOverlayOverride prefix overlay final prev | ||||||
|               // optionalAttrs (unstable != null) { |               // optionalAttrs (unstable != null) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alejandro Soto
						Alejandro Soto