mpvScripts.{modernx,modernx-zydezu,modernz,mpv-osc-modern}: use installFonts (#495852)
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-a+StfEYQwt5NuELvanvZllrD2RQ0g9JBpCznMdSDM5Y=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp -r *.ttf $out/share/fonts
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
passthru.extraWrapperArgs = [
|
||||
"--set"
|
||||
"FONTCONFIG_FILE"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildLua,
|
||||
fetchFromGitHub,
|
||||
installFonts,
|
||||
makeFontsConf,
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -17,10 +18,8 @@ buildLua (finalAttrs: {
|
||||
hash = "sha256-q7DwyfmOIM7K1L7vvCpq1EM0RVpt9E/drhAa9rLYb1k=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/fonts
|
||||
cp -r *.ttf $out/share/fonts
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
passthru.extraWrapperArgs = [
|
||||
"--set"
|
||||
"FONTCONFIG_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"
|
||||
|
||||
@@ -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