minecraftia: use installFonts

Co-authored-by: Yohann Boniface <edhyjox@gmail.com>
This commit is contained in:
SystematicError
2026-03-30 00:55:22 +02:00
committed by Sigmanificient
co-authored by Yohann Boniface
parent f1f1c72fbb
commit 64b2a9b1d4
+2 -7
View File
@@ -2,6 +2,7 @@
lib,
fetchzip,
stdenvNoCC,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -14,13 +15,7 @@ stdenvNoCC.mkDerivation {
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/Minecraftia.ttf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
homepage = "https://fontlibrary.org/en/font/minecraftia";