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; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
}));
|
}));
|
||||||
in rec {
|
in rec {
|
||||||
#lib = {
|
lib = forAllSystems ({pkgs}:
|
||||||
# fetchfont = fetchfont;
|
with pkgs;
|
||||||
#};
|
let
|
||||||
|
fetchfont = callPackage ./fetchfont.nix { pkgs = pkgs // { inherit sfnt2woff-zopfli; }; };
|
||||||
|
in
|
||||||
|
{ inherit fetchfont; }
|
||||||
|
);
|
||||||
packages = forAllSystems ({pkgs}:
|
packages = forAllSystems ({pkgs}:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue