defaultPackage defined (equales packages.*.default)

This commit is contained in:
Denis Knauf 2023-06-20 16:20:15 +02:00
parent ca3d109ea2
commit d1d9d39f45

View file

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