Commit 8b19ddb3 authored by haschwalth00B's avatar haschwalth00B
Browse files

vegur: use installFonts hook

parent 5d9a703e
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenvNoCC,
  fetchzip,
  installFonts,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
@@ -16,13 +17,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
    stripRoot = false;
  };

  installPhase = ''
    runHook preInstall

    install -D -m444 -t $out/share/fonts/opentype $src/*.otf

    runHook postInstall
  '';
  nativeBuildInputs = [ installFonts ];

  meta = {
    homepage = "https://dotcolon.net/fonts/vegur/";