jigmo: use installFonts hook

This commit is contained in:
SkohTV
2026-04-01 15:31:16 -04:00
parent 1bbd493abe
commit cd1b1bee36
+2 -7
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchzip,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
@@ -14,13 +15,7 @@ stdenvNoCC.mkDerivation rec {
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype/
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Japanese Kanji font set which is the official successor to Hanazono Mincho";