diff --git a/pkgs/applications/misc/kile-wl/default.nix b/pkgs/applications/misc/kile-wl/default.nix
index 333f008fedc..479c5bf1d8d 100644
--- a/pkgs/applications/misc/kile-wl/default.nix
+++ b/pkgs/applications/misc/kile-wl/default.nix
@@ -22,5 +22,6 @@ rustPlatform.buildRustPackage rec {
     license = licenses.mit;
     platforms = platforms.linux; # It's meant for river, a wayland compositor
     maintainers = with maintainers; [ fortuneteller2k ];
+    mainProgram = "kile";
   };
 }