takao: use installFonts hook

This commit is contained in:
SkohTV
2026-04-01 08:54:20 -04:00
parent 217fa347a2
commit aad2baae4a
+2 -8
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchurl,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
@@ -13,14 +14,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-0wjHNv1yStp0q9D0WfwjgUYoUKcCrXA5jFO8PEVgq5k=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts
cp *.ttf $out/share/fonts
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Japanese TrueType Gothic, P Gothic, Mincho, P Mincho fonts";