curseofwar-sdl: set mainProgram

This commit is contained in:
Sergei Trofimovich
2025-01-07 18:57:02 +00:00
committed by Francesco Gazzetta
parent ccd60fa3b5
commit bf3495ea8a
+1
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;
};