override ghostty to fix unresponsiveness bug

This commit is contained in:
Chris Toph 2025-06-30 23:04:40 -04:00
parent 9d886bf3ca
commit 8e18d44867
2 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,7 @@
font-family = "monospace";
font-size = "11";
background-opacity = "0.85";
# async-backend = "epoll";
};
};

View file

@ -26,6 +26,14 @@ let
hash = "sha256-AvSsyfKP57Uhb3qMrf6PpNHKbXhD9IvFT1kcz5J7khM=";
};
});
ghostty = prev.ghostty.overrideAttrs (_: {
preBuild = ''
shopt -s globstar
sed -i 's/^const xev = @import("xev");$/const xev = @import("xev").Epoll;/' **/*.zig
shopt -u globstar
'';
});
};
stable-packages = final: _prev: {