diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2021-05-22 19:13:04 +0200 |
---|---|---|
committer | Matthieu Coudron <teto@users.noreply.github.com> | 2021-05-23 14:21:47 +0200 |
commit | 19c3849b71e68a630fa1d651bb2972a5383f9faf (patch) | |
tree | e2b2dc3bee3dbc714fb9b735392c16b71b4197ae /pkgs/tools/X11 | |
parent | d7555732bc8bb8a2acb50fd4ecba96c825b4f21e (diff) |
caffeine-ng: set 'meta.mainProgram'
This allows doing `nix run nixpkgs#caffeine-ng`.
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r-- | pkgs/tools/X11/caffeine-ng/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/X11/caffeine-ng/default.nix b/pkgs/tools/X11/caffeine-ng/default.nix index 4f709ee9db08f..8493d312eb47b 100644 --- a/pkgs/tools/X11/caffeine-ng/default.nix +++ b/pkgs/tools/X11/caffeine-ng/default.nix @@ -43,6 +43,7 @@ python3Packages.buildPythonApplication rec { ''; meta = with lib; { + mainProgram = "caffeine"; maintainers = with maintainers; [ marzipankaiser ]; description = "Status bar application to temporarily inhibit screensaver and sleep mode"; homepage = "https://github.com/caffeine-ng/caffeine-ng"; |