mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
committed by
github-actions[bot]
parent
bf7fa32121
commit
8724e2885d
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user