bront_fonts: use installFonts hook

This commit is contained in:
SkohTV
2026-04-05 17:08:53 -04:00
parent 149b3496e3
commit ab26321b98
+4 -3
View File
@@ -2,6 +2,7 @@
stdenvNoCC,
lib,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -15,9 +16,9 @@ stdenvNoCC.mkDerivation {
sha256 = "1sx2gv19pgdyccb38sx3qnwszksmva7pqa1c8m35s6cipgjhhgb4";
};
installPhase = ''
install -m444 -Dt $out/share/fonts/truetype *Bront.ttf
'';
preInstall = "rm {DejaVuSansMono,UbuntuMono}.ttf";
nativeBuildInputs = [ installFonts ];
meta = {
description = "Bront Fonts";