defaultPackage defined (equales packages.*.default)
This commit is contained in:
parent
ca3d109ea2
commit
d1d9d39f45
12
flake.nix
12
flake.nix
|
@ -16,11 +16,21 @@
|
||||||
in
|
in
|
||||||
{ inherit fetchfont; }
|
{ inherit fetchfont; }
|
||||||
);
|
);
|
||||||
|
defaultPackage = 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
|
||||||
|
default
|
||||||
|
);
|
||||||
packages = forAllSystems ({pkgs}:
|
packages = 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; };
|
fonts = callPackage ./fonts.nix { fetchfont = fetchfont; };
|
||||||
default = callPackage ./collection.nix { fonts = fonts; };
|
default = callPackage ./collection.nix { fonts = fonts; };
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue