dancing-script: use installFonts (#516230)

This commit is contained in:
Yohann Boniface
2026-05-15 23:44:22 +00:00
committed by GitHub
+3 -6
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -15,13 +16,9 @@ stdenvNoCC.mkDerivation {
hash = "sha256-B9oAZFPH3dG/Nt5FfKfFVJYtfUKGK0AXNkQHRC7IgdU=";
};
installPhase = ''
runHook preInstall
nativeBuildInputs = [ installFonts ];
install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
runHook postInstall
'';
preInstall = "rm -r legacy";
meta = {
description = "Dancing Script";