From 1286e23914df6d89cdbfd2168d83976d732110eb Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 1 Jun 2024 20:12:20 -0500 Subject: [PATCH] Don't worget to build woff2 --- pkgs/iosevka-lyteterm-raw.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/iosevka-lyteterm-raw.nix b/pkgs/iosevka-lyteterm-raw.nix index 2a1f8f5..4b2ba02 100644 --- a/pkgs/iosevka-lyteterm-raw.nix +++ b/pkgs/iosevka-lyteterm-raw.nix @@ -1,7 +1,7 @@ {iosevka, ...}: let set = "LyteTerm"; in - iosevka.override { + (iosevka.override { inherit set; privateBuildPlan = '' @@ -123,4 +123,9 @@ in question = 'smooth' punctuation-dot = 'round' ''; + }) + .overrideAttrs { + postBuild = '' + npm run build --no-update-notifier --targets woff2::$pname -- --jCmd=$NIX_BUILD_CORES --verbose=9 + ''; }