Moved from overrides to overlay for custom packages
This commit is contained in:
parent
fc5a748fa5
commit
1e8b56f03b
|
@ -2,14 +2,15 @@
|
|||
...
|
||||
}:
|
||||
|
||||
{
|
||||
nixpkgs.config = {
|
||||
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 { };
|
||||
};
|
||||
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.overlays = [ overlay ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue