mpvScripts.modernz: use installFonts

This commit is contained in:
Guanran Wang
2026-03-02 22:24:21 +08:00
parent fbd521e5e0
commit 5fa0ff192a
+2 -3
View File
@@ -2,6 +2,7 @@
lib,
buildLua,
fetchFromGitHub,
installFonts,
makeFontsConf,
nix-update-script,
}:
@@ -17,9 +18,7 @@ buildLua (finalAttrs: {
hash = "sha256-9jth8TCAx/cmbAfO8s+1WPpMDuF79gQtVlC4OG2adrA=";
};
postInstall = ''
install -Dt $out/share/fonts *.ttf
'';
nativeBuildInputs = [ installFonts ];
passthru.extraWrapperArgs = [
"--set"