override ghostty to fix unresponsiveness bug
This commit is contained in:
parent
9d886bf3ca
commit
8e18d44867
2 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
font-family = "monospace";
|
||||
font-size = "11";
|
||||
background-opacity = "0.85";
|
||||
# async-backend = "epoll";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue