From 64b2a9b1d473077f99ce5e5023e58be6966617db Mon Sep 17 00:00:00 2001 From: SystematicError Date: Sun, 29 Mar 2026 23:12:07 +0100 Subject: [PATCH] minecraftia: use installFonts Co-authored-by: Yohann Boniface --- pkgs/by-name/mi/minecraftia/package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/mi/minecraftia/package.nix b/pkgs/by-name/mi/minecraftia/package.nix index 9e4d4df5a96a..9b2425ef8837 100644 --- a/pkgs/by-name/mi/minecraftia/package.nix +++ b/pkgs/by-name/mi/minecraftia/package.nix @@ -2,6 +2,7 @@ lib, fetchzip, stdenvNoCC, + installFonts, }: stdenvNoCC.mkDerivation { @@ -14,13 +15,7 @@ stdenvNoCC.mkDerivation { stripRoot = false; }; - installPhase = '' - runHook preInstall - - install -D -m444 -t $out/share/fonts/truetype $src/Minecraftia.ttf - - runHook postInstall - ''; + nativeBuildInputs = [ installFonts ]; meta = { homepage = "https://fontlibrary.org/en/font/minecraftia";