fira-code-symbols: use installFonts

This commit is contained in:
pancaek
2026-03-04 22:31:40 -08:00
parent 69e70dcb52
commit 2d2a986c1d
@@ -2,6 +2,7 @@
lib,
stdenvNoCC,
fetchzip,
installFonts,
}:
stdenvNoCC.mkDerivation {
@@ -13,13 +14,7 @@ stdenvNoCC.mkDerivation {
hash = "sha256-7y51blEn0Osf8azytK08zJgtfVX/CIWQkiOoRzYKIa4=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.otf -t $out/share/fonts/opentype
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "FiraCode unicode ligature glyphs in private use area";
@@ -29,7 +24,7 @@ stdenvNoCC.mkDerivation {
See https://github.com/tonsky/FiraCode/issues/211.
'';
license = lib.licenses.ofl;
maintainers = [ ];
maintainers = with lib.maintainers; [ pancaek ];
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
};
}