edwin: use installFonts

This commit is contained in:
SystematicError
2026-04-09 20:18:12 +01:00
parent b0b5b28571
commit 2c8b0bdd2d
+2 -8
View File
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchurl,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
@@ -13,14 +14,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-F6BzwnrsaELegdo6Bdju1OG+RI9zKnn4tIASR3q6zYk=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/opentype
install *.otf $out/share/fonts/opentype
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Text font for musical scores";