vegur: use installFonts hook

This commit is contained in:
haschwalth00B
2026-03-11 22:03:30 +05:30
parent 5d9a703e13
commit 8b19ddb3e5
+2 -7
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchzip,
installFonts,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
@@ -16,13 +17,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
homepage = "https://dotcolon.net/fonts/vegur/";