mpvScripts.mpv-osc-modern: use installFonts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildLua,
|
||||
fetchFromGitHub,
|
||||
installFonts,
|
||||
makeFontsConf,
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -17,10 +18,8 @@ buildLua (finalAttrs: {
|
||||
hash = "sha256-RMUy8UpSRSCEPAbnGLpJ2NjDsDdkjq8cNsdGwsQ5ANU=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp -r *.ttf $out/share/fonts
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
passthru.extraWrapperArgs = [
|
||||
"--set"
|
||||
"FONTCONFIG_FILE"
|
||||
|
||||
Reference in New Issue
Block a user