defaultPackage defined (equales packages.*.default)

master
Denis Knauf 2023-06-20 16:20:15 +02:00
parent ca3d109ea2
commit d1d9d39f45
1 changed files with 12 additions and 2 deletions

View File

@ -16,11 +16,21 @@
in
{ inherit fetchfont; }
);
packages = forAllSystems ({pkgs}:
defaultPackage = forAllSystems ({pkgs}:
with pkgs;
let
fetchfont = callPackage ./fetchfont.nix { pkgs = pkgs // { inherit sfnt2woff-zopfli; }; };
sfnt2woff-zopfli = callPackage ./sfnt2woff-zopfli.nix {};
fetchfont = callPackage ./fetchfont.nix { pkgs = pkgs // { inherit sfnt2woff-zopfli; }; };
fonts = callPackage ./fonts.nix { fetchfont = fetchfont; };
default = callPackage ./collection.nix { fonts = fonts; };
in
default
);
packages = forAllSystems ({pkgs}:
with pkgs;
let
sfnt2woff-zopfli = callPackage ./sfnt2woff-zopfli.nix {};
fetchfont = callPackage ./fetchfont.nix { pkgs = pkgs // { inherit sfnt2woff-zopfli; }; };
fonts = callPackage ./fonts.nix { fetchfont = fetchfont; };
default = callPackage ./collection.nix { fonts = fonts; };
in