Unverified Commit 91bce2b4 authored by Rémi NICOLE's avatar Rémi NICOLE Committed by GitHub
Browse files

vegur: use installFonts hook (#498949)

parents cb28c29f 8b19ddb3
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/";