fix(prismlauncher): add aur patches for wayland support
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-03-09 00:42:54 -05:00
parent d993a39ab3
commit 0829b2206b

View file

@ -177,10 +177,26 @@ in {
spotifywm spotifywm
swayimg swayimg
nextcloud-client nextcloud-client
prismlauncher
vesktop # screen-sharing on desktop vesktop # screen-sharing on desktop
; ;
prismlauncher = pkgs.prismlauncher.override {
glfw3-minecraft = pkgs.glfw3-minecraft.overrideAttrs (o: {
patches =
o.patches
++ [
(pkgs.fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/0006-Avoid-error-on-startup.patch?h=glfw-wayland-minecraft-cursorfix";
hash = "sha256-oF+mTNOXPq/yr+y58tTeRkLJE67QzJJSleKFZ85+Uys=";
})
(pkgs.fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-Fix-duplicate-pointer-scroll-events.patch?h=glfw-wayland-minecraft-cursorfix";
hash = "sha256-qd92eEqXjBPf0mgD19U5H8E88idd6NC6WnRTfvm829w=";
})
];
});
};
# force XWayland for stylus input # force XWayland for stylus input
obsidian = pkgs.obsidian.overrideAttrs { obsidian = pkgs.obsidian.overrideAttrs {
postFixup = '' postFixup = ''