Skip to content

Commit

Permalink
mpc-qt: Fix compilation failure due to mpv changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 25, 2020
1 parent 9a515a9 commit 7677449
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/applications/video/mpc-qt/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 ];

Expand Down

0 comments on commit 7677449

Please sign in to comment.