From 0e1c8423bd5247cee4fe22e5ecb290c42da40887 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 20 Sep 2025 20:55:46 +0800 Subject: [PATCH] Update ghostty.spec Signed-off-by: madomado --- anda/devs/ghostty/stable/ghostty.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/anda/devs/ghostty/stable/ghostty.spec b/anda/devs/ghostty/stable/ghostty.spec index 1b9a4555fb..09f6cc572e 100644 --- a/anda/devs/ghostty/stable/ghostty.spec +++ b/anda/devs/ghostty/stable/ghostty.spec @@ -147,8 +147,10 @@ Ghostty's terminfo. Needed for basic terminal function. %prep /usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} %autosetup - -ZIG_GLOBAL_CACHE_DIR="%{_zig_cache_dir}" ./nix/build-support/fetch-zig-cache.sh +export ZIG_GLOBAL_CACHE_DIR="%{_zig_cache_dir}" +zig build --fetch +zig fetch git+https://github.com/zigimg/zigimg#3a667bdb3d7f0955a5a51c8468eac83210c1439e +zig fetch git+https://github.com/mitchellh/libxev#f6a672a78436d8efee1aa847a43a900ad773618b %build @@ -160,7 +162,7 @@ DESTDIR="%{buildroot}" \ -Dversion-string="%{version}" \ -Dstrip=false \ -Dpie=true \ - -Demit-docs + -Demit-docs # Don't conflict with ncurses-term on F42 and up %if 0%{?fedora} >= 42