From cfc7cdac452170ee07363d2a707d36dcb4441083 Mon Sep 17 00:00:00 2001 From: Averell Dalton Date: Wed, 13 Feb 2019 00:56:15 +0100 Subject: [PATCH] nextcloud-client: fix crash --- pkgs/applications/networking/nextcloud-client/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix index 624c5472ddcd..a131355963ce 100644 --- a/pkgs/applications/networking/nextcloud-client/default.nix +++ b/pkgs/applications/networking/nextcloud-client/default.nix @@ -13,13 +13,18 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; - # Patch contained in next (>2.5.1) release + # Patches 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"; }) + (fetchpatch { + name = "fix-qtwebengine-crash"; + url = "https://patch-diff.githubusercontent.com/raw/nextcloud/desktop/pull/959.patch"; + sha256 = "00qx976az2rb1gwl1rxapm8gqj42yzqp8k2fasn3h7b30lnxdyr0"; + }) ]; nativeBuildInputs = [ pkgconfig cmake makeWrapper ];