m1n1: remove broken font generation

This results in an oddly broken font, and it's unclear why it would be needed in the first place

(cherry picked from commit e0143a8364)
This commit is contained in:
Yureka
2026-06-26 13:11:33 +02:00
committed by github-actions[bot]
parent bf7fa32121
commit 8724e2885d

View File

@@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
imagemagick,
source-code-pro,
python3Packages,
nix-update-script,
nixos-icons,
@@ -62,14 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
rustPlatform.cargoSetupHook
];
postConfigure = ''
patchShebangs --build font/makefont.sh
FONT_PATH=${source-code-pro}/share/fonts/opentype/SourceCodePro-Bold.otf
rm font/{SourceCodePro-Bold.ttf,font.bin,font_retina.bin}
./font/makefont.sh 8 16 12 $FONT_PATH font/font.bin
./font/makefont.sh 16 32 25 $FONT_PATH font/font_retina.bin
'';
makeFlags = [
"ARCH=${stdenv.cc.targetPrefix}"
"RELEASE=1"