ipaexfont: use installFonts

This commit is contained in:
pancaek
2026-05-01 13:20:22 -07:00
parent 0ce6ccb30f
commit af30ee15af
+2 -7
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchzip,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -13,13 +14,7 @@ stdenvNoCC.mkDerivation {
hash = "sha256-/87qJIb+v4qrtDy+ApfXxh59reOk+6RhGqFN98mc+8Q=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/opentype
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Japanese font package with Mincho and Gothic fonts";