fix building nerd font attributes on Debian and snap

This commit is contained in:
Jeffrey C. Ollie
2025-07-06 02:29:48 -05:00
parent db77167fdd
commit c34bd44143
3 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,7 @@ parts:
- git
- patchelf
- gettext
- python3
# TODO: Remove -fno-sys=gtk4-layer-shell when we upgrade to a version that packages it Ubuntu 24.10+
override-build: |
craftctl set version=$(cat VERSION)

View File

@ -503,7 +503,7 @@ pub fn add(
// Fonts
{
const generate_nerd_font_attributes = b.addSystemCommand(&.{
"python",
"python3",
});
generate_nerd_font_attributes.addFileArg(b.path("src/font/nerd_font_codegen.py"));
generate_nerd_font_attributes.setStdIn(.{ .lazy_path = b.path("vendor/nerd-fonts/font-patcher.py") });

View File

@ -14,6 +14,7 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
lsb-release \
libxml2-utils \
pandoc \
python3 \
# Ghostty Dependencies
libadwaita-1-dev \
libgtk-4-dev && \