From 079267f37a43d36fa6ea6c3386a6aee4b49aa83b Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 1 Jul 2026 13:47:24 +0200 Subject: [PATCH] fix(ghostty-stable): change requirements to zig 0.15, add pkg workaround (#13606) --- 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