animatch: switch SDL2 -> sdl2-compat, for clarity (theyre aliases)
This commit is contained in:
@@ -21,14 +21,22 @@
|
|||||||
# 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: see about upstreaming this to nixpkgs?
|
||||||
allegro5 = allegro5.overrideAttrs (upstream: {
|
allegro5 = allegro5.overrideAttrs (upstream: {
|
||||||
buildInputs = upstream.buildInputs ++ [
|
buildInputs = (upstream.buildInputs or []) ++ [
|
||||||
SDL2
|
sdl2-compat
|
||||||
];
|
];
|
||||||
cmakeFlags = upstream.cmakeFlags ++ [
|
cmakeFlags = (upstream.cmakeFlags or []) ++ [
|
||||||
"-DALLEGRO_SDL=on"
|
"-DALLEGRO_SDL=on"
|
||||||
];
|
];
|
||||||
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
# nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
|
||||||
|
# makeWrapper
|
||||||
|
# ];
|
||||||
|
# postFixup = (upstream.postFixup or "") + ''
|
||||||
|
# wrapProgram $out/bin/animatch \
|
||||||
|
# --set SDL_VIDEODRIVER wayland
|
||||||
|
# '';
|
||||||
|
|
||||||
buildCost = 1;
|
buildCost = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user