animatch: docs: link to upstream allegro5 + SDL patch

This commit is contained in:
2025-07-28 19:49:48 +00:00
parent 709d70a4d9
commit 1157215198

View File

@@ -19,7 +19,8 @@
packageUnwrapped = with pkgs; animatch.override { packageUnwrapped = with pkgs; animatch.override {
# allegro has no native wayland support, and so by default crashes when run without Xwayland. # allegro has no native wayland support, and so by default crashes when run without Xwayland.
# enable the allegro SDL backend, and achieve Wayland support via SDL's Wayland support. # enable the allegro SDL backend, and achieve Wayland support via SDL's Wayland support.
# TODO: see about upstreaming this to nixpkgs? # TODO: switch to `allegro5.override { useSDL = true; }` once upstreamed:
# - <https://github.com/NixOS/nixpkgs/pull/429173>
allegro5 = allegro5.overrideAttrs (upstream: { allegro5 = allegro5.overrideAttrs (upstream: {
buildInputs = (upstream.buildInputs or []) ++ [ buildInputs = (upstream.buildInputs or []) ++ [
sdl2-compat sdl2-compat