From 1596ce48598acc796991b09ee45a3ec442312011 Mon Sep 17 00:00:00 2001 From: con-f-use Date: Tue, 8 Dec 2020 01:30:12 +0100 Subject: [PATCH] mpv: umpv desktop file --- pkgs/applications/video/mpv/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index d7dc865c1694..2b9605aa3c26 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -196,6 +196,8 @@ in stdenv.mkDerivation rec { cp TOOLS/mpv_identify.sh $out/bin cp TOOLS/umpv $out/bin + cp $out/share/applications/mpv.desktop $out/share/applications/umpv.desktop + sed -i '/Icon=/ ! s/mpv/umpv/g' $out/share/applications/umpv.desktop '' + optionalString stdenv.isDarwin '' mkdir -p $out/Applications cp -r build/mpv.app $out/Applications