Add fonts
build / build (push) Failing after 2m58s

This commit is contained in:
2026-06-12 18:46:47 +02:00
parent cb1b98cbf9
commit 184f7b3b4c
+5 -1
View File
@@ -41,6 +41,8 @@
};
androidSdk = androidComposition.androidsdk;
sdkRoot = "${androidSdk}/libexec/android-sdk";
fonts = with pkgs; [ noto-fonts dejavu_fonts freefont_ttf ];
in
{
devShells.default = pkgs.mkShell {
@@ -50,10 +52,12 @@
pkgs.gradle
pkgs.imagemagick # banner/icon generation
pkgs.android-tools # adb for sideloading
];
] ++ fonts;
ANDROID_HOME = sdkRoot;
ANDROID_SDK_ROOT = sdkRoot;
FONTCONFIG_FILE = pkgs.makeFontsConf { fontDirectories = fonts; };
# NixOS gotcha: AGP downloads a dynamically-linked aapt2 from Maven
# that can't run on NixOS. AGP reads the override from gradle.properties