diff --git a/pkgs/games/curseofwar/default.nix b/pkgs/games/curseofwar/default.nix index 0a74065cec93..2bf91002024e 100644 --- a/pkgs/games/curseofwar/default.nix +++ b/pkgs/games/curseofwar/default.nix @@ -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; };