apl2741-unicode: use installFonts hook

This commit is contained in:
Yiyu Zhou
2026-03-01 21:15:32 -08:00
parent 213482258c
commit 38759debfb
+2 -7
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -18,13 +19,7 @@ stdenvNoCC.mkDerivation {
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/truetype *.ttf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "APL font based on Adrian Smith's IBM Selectric APL2741 golf-ball font";