From 54915d847416a57fcd347a272c0eb6a0119e90fe Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 28 Jun 2025 21:19:31 -0700 Subject: Force ghostty to use epoll instead of io_uring --- overlays/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'overlays') diff --git a/overlays/default.nix b/overlays/default.nix index c59e38f..620c73c 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -22,6 +22,14 @@ # example = prev.example.overrideAttrs (oldAttrs: rec { # ... # }); + ghostty = prev.ghostty.overrideAttrs (_: { + preBuild = '' + shopt -s globstar + sed -i 's/^const xev = @import("xev");$/const xev = @import("xev").Epoll;/' **/*.zig + shopt -u globstar + ''; + }); + linux-firmware = prev.linux-firmware.overrideAttrs (old: rec { pname = "linux-firmware"; version = "20250627"; -- cgit v1.2.3