vt323: use installFonts hook

This commit is contained in:
Sandesh
2026-06-03 09:41:23 +05:30
parent 92dc181ae1
commit a1cf905d64
+5 -3
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
installFonts,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -15,9 +16,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Abq0/hU/BXJMxQxzhZG1SEGIZYt+qofuXwy5/A9byQ8=";
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp fonts/ttf/VT323-Regular.ttf $out/share/fonts/truetype
nativeBuildInputs = [ installFonts ];
preInstall = ''
rm -r old
'';
meta = {