From fff760a3a0231c96df9566a703decf9a09ed7225 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 1 Jul 2026 07:00:30 -0500 Subject: [PATCH] fix(ghostty-stable): change requirements to zig 0.15, add pkg workaround (#13606) (#13607) --- anda/devs/ghostty/stable/ghostty.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anda/devs/ghostty/stable/ghostty.spec b/anda/devs/ghostty/stable/ghostty.spec index 02c26afca1..f3bc2de230 100644 --- a/anda/devs/ghostty/stable/ghostty.spec +++ b/anda/devs/ghostty/stable/ghostty.spec @@ -20,7 +20,7 @@ BuildRequires: ncurses BuildRequires: ncurses-devel BuildRequires: pandoc-cli BuildRequires: systemd-rpm-macros -BuildRequires: zig >= 0.14.0 +BuildRequires: zig0.15 BuildRequires: zig-rpm-macros BuildRequires: pkgconfig(blueprint-compiler) BuildRequires: pkgconfig(bzip2) @@ -170,6 +170,8 @@ This package contains the libraries and header files that are needed for develop %autosetup ZIG_GLOBAL_CACHE_DIR="%{_zig_cache_dir}" ./nix/build-support/fetch-zig-cache.sh +# Workaround for 0.16 macros working around zig problem +mv "%{_zig_cache_dir}/p" "zig-pkg" %build