Moved from overrides to overlay for custom packages
This commit is contained in:
		
							parent
							
								
									fc5a748fa5
								
							
						
					
					
						commit
						1e8b56f03b
					
				| @ -2,14 +2,15 @@ | |||||||
|   ... |   ... | ||||||
| }: | }: | ||||||
| 
 | 
 | ||||||
|  | let | ||||||
|  |   overlay = final: prev: { | ||||||
|  |     dina-vector = prev.callPackage ./fonts/dina-vector.nix { }; | ||||||
|  |     dina-psf = prev.callPackage ./fonts/dina-psf.nix { }; | ||||||
|  |     wqy-zenhei = prev.callPackage ./fonts/wqy-zenhei.nix { }; | ||||||
|  |     wqy-microhei = prev.callPackage ./fonts/wqy-microhei.nix { }; | ||||||
|  |     wqy-bitmapsong = prev.callPackage ./fonts/wqy-bitmapsong.nix { }; | ||||||
|  |   }; | ||||||
|  | in | ||||||
| { | { | ||||||
|   nixpkgs.config = { |   nixpkgs.overlays = [ overlay ]; | ||||||
|     packageOverrides = pkgs: { |  | ||||||
|       dina-vector = pkgs.callPackage ./fonts/dina-vector.nix { }; |  | ||||||
|       dina-psf = pkgs.callPackage ./fonts/dina-psf.nix { }; |  | ||||||
|       wqy-zenhei = pkgs.callPackage ./fonts/wqy-zenhei.nix { }; |  | ||||||
|       wqy-microhei = pkgs.callPackage ./fonts/wqy-microhei.nix { }; |  | ||||||
|       wqy-bitmapsong = pkgs.callPackage ./fonts/wqy-bitmapsong.nix { }; |  | ||||||
|     }; |  | ||||||
|   }; |  | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis