curseofwar-sdl: set mainProgram

This commit is contained in:
Sergei Trofimovich 2025-01-03 22:17:15 +00:00 committed by Francesco Gazzetta
parent ccd60fa3b5
commit bf3495ea8a

View file

@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "Fast-paced action strategy game";
homepage = "https://a-nikolaev.github.io/curseofwar/";
license = licenses.gpl3;
mainProgram = if SDL != null then "curseofwar-sdl" else "curseofwar";
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};