From 8e14176f0fed818f72326ccbaaeffed787cff60d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 6 Jan 2024 16:41:23 +0100 Subject: 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. --- pkgs/desktops/gnome/core/eog/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs') 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"; }; } -- cgit 1.4.1