Unverified Commit 7e711a9e authored by Matthieu Coudron's avatar Matthieu Coudron Committed by GitHub
Browse files

ipamjfont: use installFonts (#505684)

parents 7c89b873 6c0abe1d
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenvNoCC,
  fetchzip,
  installFonts,
  writeShellApplication,
  curl,
  gnugrep,
@@ -22,13 +23,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
      stripRoot = false;
    };

  installPhase = ''
    runHook preInstall

    install -Dm444 *.ttf -t "$out/share/fonts/truetype/"

    runHook postInstall
  '';
  nativeBuildInputs = [ installFonts ];

  passthru = {
    updateScript = lib.getExe (writeShellApplication {