From 9e1ef99fc22a7ed3cf9eef7c6696421c32a7329d Mon Sep 17 00:00:00 2001 From: zraexy Date: Wed, 25 Oct 2017 06:57:43 -0800 Subject: [PATCH] kmplayer: fix desktop file exec --- pkgs/applications/video/kmplayer/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/video/kmplayer/default.nix b/pkgs/applications/video/kmplayer/default.nix index f0d7fa35370..88055f2a824 100644 --- a/pkgs/applications/video/kmplayer/default.nix +++ b/pkgs/applications/video/kmplayer/default.nix @@ -21,6 +21,11 @@ mkDerivation rec { ./no-docs.patch # Don't build docs due to errors (kdelibs4support propagates kdoctools) ]; + postPatch = '' + sed -i src/kmplayer.desktop \ + -e "s,^Exec.*,Exec=$out/bin/kmplayer -qwindowtitle %c %i %U," + ''; + nativeBuildInputs = [ extra-cmake-modules makeWrapper ]; buildInputs = [