1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

qtchan: Fixes build from Qt upgrade. (#46082)

Uses an upstream fix.
This commit is contained in:
Samuel Dionne-Riel 2018-09-05 02:23:29 -04:00 committed by xeji
parent 7e0dd4c261
commit 7ec9a333df

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qt, makeWrapper }:
{ stdenv, fetchFromGitHub, fetchpatch, qt, makeWrapper }:
stdenv.mkDerivation rec {
name = "qtchan-${version}";
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "0n94jd6b1y8v6x5lkinr9rzm4bjg9xh9m7zj3j73pgq829gpmj3a";
};
patches = [
(fetchpatch {
url = https://github.com/siavash119/qtchan/commit/718abeee5cf4aca8c99b35b26f43909362a29ee6.patch;
sha256 = "11b72l5njvfsyapd479hp4yfvwwb1mhq3f077hwgg0waz5l7n00z";
})
];
enableParallelBuilding = true;
nativeBuildInputs = [ qt.qmake makeWrapper ];
buildInputs = [ qt.qtbase ];