From 4459b35304dfb86626778a1118a485a2be2d73ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Gr=C3=A4fenstein?= Date: Sun, 21 Nov 2021 16:46:39 +0100 Subject: [PATCH] mpv: set meta.mainProgram --- pkgs/applications/video/mpv/wrapper.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/video/mpv/wrapper.nix b/pkgs/applications/video/mpv/wrapper.nix index 6166ae10d4eb..c097489a33c4 100644 --- a/pkgs/applications/video/mpv/wrapper.nix +++ b/pkgs/applications/video/mpv/wrapper.nix @@ -79,6 +79,8 @@ let rm "$out/Applications/mpv.app/Contents/MacOS/mpv" makeWrapper "${mpv}/Applications/mpv.app/Contents/MacOS/mpv" "$out/Applications/mpv.app/Contents/MacOS/mpv" ${mostMakeWrapperArgs} ''; + + meta.mainProgram = "mpv"; }; in lib.makeOverridable wrapper