aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2020-11-25 10:40:39 -0300
committerGitHub <noreply@github.com>2020-11-25 10:40:39 -0300
commitdb63be9c9106cf6df3bf8741a3b92c1515796c86 (patch)
treee1cf453c6e186fbe3fd4ca7181d23a5d8232435f /pkgs/applications/video
parent6cd3c538c75a3c69585bd4fd7543bf3f836d70aa (diff)
parent7677449d51ed28162d91743a5badccc820d6809b (diff)
Merge pull request #104892 from SuperSandro2000/mpc-qt-fix
mpc-qt: Fix compilation failure due to mpv changes
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/mpc-qt/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/video/mpc-qt/default.nix b/pkgs/applications/video/mpc-qt/default.nix
index 07b4c79a5b3d..13c27879b190 100644
--- a/pkgs/applications/video/mpc-qt/default.nix
+++ b/pkgs/applications/video/mpc-qt/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, mkDerivation, fetchFromGitLab, pkgconfig, qmake, qtx11extras, qttools, mpv }:
+{ stdenv, mkDerivation, fetchFromGitLab, fetchurl, pkg-config, qmake, qtx11extras, qttools, mpv }:
mkDerivation rec {
pname = "mpc-qt";
@@ -11,7 +11,14 @@ mkDerivation rec {
sha256 = "1cis8dl9pm91mpnp696zvwsfp96gkwr8jgs45anbwd7ldw78w4x5";
};
- nativeBuildInputs = [ pkgconfig qmake qttools ];
+ patches = [
+ (fetchurl {
+ url = "https://gitlab.com/mpc-qt/mpc-qt/-/commit/02f2bc7a22e863a89ba322b9acb61cf1aef23ba0.diff";
+ sha256 = "15gcpcs54k09pndlpcfwb3fa0cg9fszyyb6vbp0hpgspy43183lx";
+ })
+ ];
+
+ nativeBuildInputs = [ pkg-config qmake qttools ];
buildInputs = [ mpv qtx11extras ];