Unverified Commit 7b18d672 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

ipaexfont: use installFonts (#515602)

parents d1412c1c af30ee15
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenvNoCC,
  fetchzip,
  installFonts,
}:

stdenvNoCC.mkDerivation {
@@ -13,13 +14,7 @@ stdenvNoCC.mkDerivation {
    hash = "sha256-/87qJIb+v4qrtDy+ApfXxh59reOk+6RhGqFN98mc+8Q=";
  };

  installPhase = ''
    runHook preInstall

    install -Dm644 *.ttf -t $out/share/fonts/opentype

    runHook postInstall
  '';
  nativeBuildInputs = [ installFonts ];

  meta = {
    description = "Japanese font package with Mincho and Gothic fonts";