aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/nextcloud-client
diff options
context:
space:
mode:
authoraverelld <averelld@users.noreply.github.com>2019-01-16 22:05:42 +0100
committerTor Hedin Brønner <torhedinbronner@gmail.com>2019-01-16 22:05:42 +0100
commitead68995fa007a9f1f50db21834257f036f933da (patch)
treeaaf77bf56f4b8215e42601b6500809a3a7826e7e /pkgs/applications/networking/nextcloud-client
parentbd3957ddc99b2e70a911c4eda3aa80dab1844ca1 (diff)
nextcloud-client: fix build with qt 5.12 (#53881)
Diffstat (limited to 'pkgs/applications/networking/nextcloud-client')
-rw-r--r--pkgs/applications/networking/nextcloud-client/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
index 715e4ad74afd..7ece1375793a 100644
--- a/pkgs/applications/networking/nextcloud-client/default.nix
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite
-, inotify-tools, makeWrapper, openssl_1_1, pcre, qtwebengine, libsecret
+, inotify-tools, makeWrapper, openssl_1_1, pcre, qtwebengine, libsecret, fetchpatch
}:
stdenv.mkDerivation rec {
@@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
+ # Patch contained in next (>2.5.1) release
+ patches = [
+ (fetchpatch {
+ name = "fix-qt-5.12-build";
+ url = "https://github.com/nextcloud/desktop/commit/071709ab5e3366e867dd0b0ea931aa7d6f80f528.patch";
+ sha256 = "14k635jwm8hz6i22lz88jj2db8v5czwa3zg0667i4hwhkqqmy61n";
+ })
+ ];
+
nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools ];