summary refs log tree commit diff
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-06-26 16:47:47 +0200
committerProfpatsch <mail@profpatsch.de>2022-06-27 14:35:24 +0200
commit284d5486a5155329f9831be8c5f92775260440be (patch)
tree9b7bd5c56539bbd841ff96c7026c90e3d8c619ca
parent00b644c8e6dac272bfb30b65c3e2e8f9948f5ded (diff)
downloadnixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar.gz
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar.bz2
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar.lz
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar.xz
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.tar.zst
nixpkgs-284d5486a5155329f9831be8c5f92775260440be.zip
weechat-matrix: fix startup crash
Python 3.10 has a bug in its SSL module.

Fixes: https://github.com/NixOS/nixpkgs/issues/178540
-rw-r--r--pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix
index 2dc16701222..601cb127ff1 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix
+++ b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix
@@ -2,6 +2,7 @@
 , lib
 , python
 , fetchFromGitHub
+, fetchpatch
 , pyopenssl
 , webcolors
 , future
@@ -33,6 +34,11 @@ in buildPythonPackage {
     hash = "sha256-o4kgneszVLENG167nWnk2FxM+PsMzi+PSyMUMIktZcc=";
   };
 
+  patches = fetchpatch {
+    url = "https://patch-diff.githubusercontent.com/raw/poljar/weechat-matrix/pull/309.patch";
+    sha256 = "sha256-Grdht+TOFvCYRpL7uhPivqL7YzLoNVF3iQNHgbv1Te0=";
+  };
+
   propagatedBuildInputs = [
     pyopenssl
     webcolors