summary refs log tree commit diff
path: root/pkgs/development/libraries/mtxclient
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-03-25 18:49:40 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-03-25 19:29:22 +0100
commite3f22736be561e45ec24746d53d85130b52280c6 (patch)
tree094af78f34700cbfbb6a534a45581c110fc4066f /pkgs/development/libraries/mtxclient
parent0f3146eda73d21a1d3dd6b4a4ed593cab4e1650b (diff)
downloadnixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar.gz
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar.bz2
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar.lz
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar.xz
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.tar.zst
nixpkgs-e3f22736be561e45ec24746d53d85130b52280c6.zip
mtxclient: patch to workaround matrix synapse bug
Diffstat (limited to 'pkgs/development/libraries/mtxclient')
-rw-r--r--pkgs/development/libraries/mtxclient/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mtxclient/default.nix b/pkgs/development/libraries/mtxclient/default.nix
index 15c82cb1282..3ab1e0a7974 100644
--- a/pkgs/development/libraries/mtxclient/default.nix
+++ b/pkgs/development/libraries/mtxclient/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig
+{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig
 , boost, openssl, zlib, libsodium, olm, gtest, spdlog, nlohmann_json }:
 
 stdenv.mkDerivation rec {
@@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
     sha256 = "19v1qa6mzvc65m7wy7x0g4i24bcg9xk31y1grwvd3zr0l4v6xcgs";
   };
 
+  patches = [
+    # remove on the next mtxclient update
+    (fetchpatch {
+      url = "https://github.com/Nheko-Reborn/mtxclient/commit/41314809da7eb17ec00cff1795af6a528c5e904a.diff";
+      sha256 = "17pzrkdhd4jr8xwd7hhyzak880k8yb9nkg3vcbyjfp5si89dha5j";
+    })
+  ];
+
   postPatch = ''
     ln -s ${nlohmann_json}/include/nlohmann/json.hpp include/json.hpp
   '';