From ca3d109ea299907cd5a033048e3441fd54971a8b Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Tue, 20 Jun 2023 15:14:02 +0200 Subject: [PATCH] lib.fetchfont now with system: lib.${system}.fetchfont --- flake.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 7636edd..9ee2a5e 100644 --- a/flake.nix +++ b/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