Unverified Commit 321c0e6c authored by sternenseemann's avatar sternenseemann Committed by GitHub
Browse files

apl2741-unicode: use installFonts hook (#495708)

parents f1f1f32e 38759deb
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  installFonts,
}:

stdenvNoCC.mkDerivation {
@@ -18,13 +19,7 @@ stdenvNoCC.mkDerivation {
  dontConfigure = true;
  dontBuild = true;

  installPhase = ''
    runHook preInstall

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

    runHook postInstall
  '';
  nativeBuildInputs = [ installFonts ];

  meta = {
    description = "APL font based on Adrian Smith's IBM Selectric APL2741 golf-ball font";