about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2024-01-06 16:41:23 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2024-01-06 16:41:23 +0100
commit8e14176f0fed818f72326ccbaaeffed787cff60d (patch)
tree7b29d2416ca66c98ccc8888267943ca14a082288 /pkgs
parente55b4c1ec75d032bbe0d28f70260fbdb3f7fbbe5 (diff)
gnome.eog: add meta.mainProgram
In one of my personal deployments, I happen to have the line

    lib.getExe gnome.eog

which fails rather loudly with a warning that doing this is deprecated
if `mainProgram` is not defined for understandable reasons. So, this
patch adds this attribute.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/gnome/core/eog/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/core/eog/default.nix b/pkgs/desktops/gnome/core/eog/default.nix
index 1641fa5bbf60b..1cdfe82341300 100644
--- a/pkgs/desktops/gnome/core/eog/default.nix
+++ b/pkgs/desktops/gnome/core/eog/default.nix
@@ -119,5 +119,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl2Plus;
     maintainers = teams.gnome.members;
     platforms = platforms.unix;
+    mainProgram = "eog";
   };
 }