Skip to content

Commit bf3495e

Browse files
trofifgaz
authored andcommitted
curseofwar-sdl: set mainProgram
1 parent ccd60fa commit bf3495e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/games/curseofwar/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
3232
description = "Fast-paced action strategy game";
3333
homepage = "https://a-nikolaev.github.io/curseofwar/";
3434
license = licenses.gpl3;
35+
mainProgram = if SDL != null then "curseofwar-sdl" else "curseofwar";
3536
maintainers = with maintainers; [ fgaz ];
3637
platforms = platforms.all;
3738
};

0 commit comments

Comments
 (0)