Skip to content

Commit

Permalink
nextcloud-client: fix build with qt 5.12 (#53881)
Browse files Browse the repository at this point in the history
  • Loading branch information
averelld authored and hedning committed Jan 16, 2019
1 parent bd3957d commit ead6899
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/applications/networking/nextcloud-client/default.nix
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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 ];
Expand Down

0 comments on commit ead6899

Please sign in to comment.