rhodium-libre: use installFonts hook

This commit is contained in:
Sandesh
2026-06-03 09:41:23 +05:30
parent b67199c130
commit 92dc181ae1
+2 -8
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
@@ -15,14 +16,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-YCQvUdjEAj4G71WCRCM0+NwiqRqwt1Ggeg9jb/oWEsY=";
};
installPhase = ''
runHook preInstall
install -Dm444 -t $out/share/fonts/opentype/ RhodiumLibre-Regular.otf
install -Dm444 -t $out/share/fonts/truetype/ RhodiumLibre-Regular.ttf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "F/OSS/Libre font for Latin and Devanagari";