diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-11-25 13:41:12 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-11-25 13:41:12 +0100 |
commit | 7677449d51ed28162d91743a5badccc820d6809b (patch) | |
tree | 64a0479acb661a00e3304f89bf8a4142ff08188b /pkgs/applications | |
parent | 9a515a9d458926c928f00d0bb67fc06e9b2dafbb (diff) |
mpc-qt: Fix compilation failure due to mpv changes
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/mpc-qt/default.nix | 11 |
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 07b4c79a5b3d9..13c27879b190a 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 ]; |