lib.fetchfont now with system: lib.${system}.fetchfont
This commit is contained in:
parent
17bb7663ad
commit
ca3d109ea2
10
flake.nix
10
flake.nix
|
@ -9,9 +9,13 @@
|
|||
pkgs = import nixpkgs { inherit system; };
|
||||
}));
|
||||
in rec {
|
||||
#lib = {
|
||||
# fetchfont = fetchfont;
|
||||
#};
|
||||
lib = forAllSystems ({pkgs}:
|
||||
with pkgs;
|
||||
let
|
||||
fetchfont = callPackage ./fetchfont.nix { pkgs = pkgs // { inherit sfnt2woff-zopfli; }; };
|
||||
in
|
||||
{ inherit fetchfont; }
|
||||
);
|
||||
packages = forAllSystems ({pkgs}:
|
||||
with pkgs;
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue