fanwood: use installFonts hook

Part of #495640
This commit is contained in:
Sandesh
2026-05-08 22:02:37 +05:30
parent 8ae9818f8e
commit 54b1986d4e
+6 -6
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
stdenvNoCC,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -15,13 +16,12 @@ stdenvNoCC.mkDerivation {
hash = "sha256-OroFhhb4RxPHkx+/8PtFnxs1GQVXMPiYTd+2vnRbIjg=";
};
installPhase = ''
runHook preInstall
outputs = [
"out"
"webfont"
];
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Serif based on the work of a famous Czech-American type designer of yesteryear";