fira-math: use installFonts
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user