mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
mpvScripts.{modernx,modernx-zydezu,modernz,mpv-osc-modern}: use installFonts (#495852)
This commit is contained in:
commit
400ca1e2dd
4 changed files with 11 additions and 15 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue