fira-math: use installFonts

This commit is contained in:
pancaek
2026-03-04 20:10:22 -08:00
parent 40e883ab15
commit 9b20a9b67c
+2 -8
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
python3,
installFonts,
stdenvNoCC,
}:
@@ -21,6 +22,7 @@ stdenvNoCC.mkDerivation {
};
nativeBuildInputs = [
installFonts
(python3.withPackages (
ps: with ps; [
fontmake
@@ -39,14 +41,6 @@ stdenvNoCC.mkDerivation {
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -D "build/"*.otf -t "$out/share/fonts/opentype/"
runHook postInstall
'';
meta = {
description = "Math font with Unicode math support based on FiraSans and FiraGO";
homepage = "https://github.com/firamath/firamath";