From 5c706a49a629cfe97386a95907c811975ba1f62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Gr=C3=A4fenstein?= Date: Mon, 22 Nov 2021 15:20:41 +0100 Subject: [PATCH] mpv: inherit meta from mpv-unwrapped Co-authored-by: Thiago Kenji Okada --- pkgs/applications/video/mpv/wrapper.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/wrapper.nix b/pkgs/applications/video/mpv/wrapper.nix index c097489a33c4..28414c3756d9 100644 --- a/pkgs/applications/video/mpv/wrapper.nix +++ b/pkgs/applications/video/mpv/wrapper.nix @@ -80,7 +80,10 @@ let makeWrapper "${mpv}/Applications/mpv.app/Contents/MacOS/mpv" "$out/Applications/mpv.app/Contents/MacOS/mpv" ${mostMakeWrapperArgs} ''; - meta.mainProgram = "mpv"; + meta = { + inherit (mpv.meta) homepage description longDescription maintainers; + mainProgram = "mpv"; + }; }; in lib.makeOverridable wrapper