diff options
author | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
---|---|---|
committer | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
commit | ff1a94e523ae9fb272e0581f068baee5d1068476 (patch) | |
tree | cbea47f2004a4fa8685163d630612cf748e72c1e /pkgs/games/openttd | |
parent | b06025f1533a1e07b6db3e75151caa155d1c7eb3 (diff) |
treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
Diffstat (limited to 'pkgs/games/openttd')
-rw-r--r-- | pkgs/games/openttd/default.nix | 1 | ||||
-rw-r--r-- | pkgs/games/openttd/nml.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix index 6122b586770e4..69a2c75fa4637 100644 --- a/pkgs/games/openttd/default.nix +++ b/pkgs/games/openttd/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = ''Open source clone of the Microprose game "Transport Tycoon Deluxe"''; + mainProgram = "openttd"; longDescription = '' OpenTTD is a transportation economics simulator. In single player mode, players control a transportation business, and use rail, road, sea, and air diff --git a/pkgs/games/openttd/nml.nix b/pkgs/games/openttd/nml.nix index 8ec8adf5f22b2..65dddce236e34 100644 --- a/pkgs/games/openttd/nml.nix +++ b/pkgs/games/openttd/nml.nix @@ -23,6 +23,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "http://openttdcoop.org/"; description = "Compiler for OpenTTD NML files"; + mainProgram = "nmlc"; license = licenses.gpl2; maintainers = with maintainers; [ ToxicFrog ]; }; |