diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-26 16:47:47 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-27 14:35:24 +0200 |
commit | 284d5486a5155329f9831be8c5f92775260440be (patch) | |
tree | 9b7bd5c56539bbd841ff96c7026c90e3d8c619ca /pkgs/applications/networking/irc | |
parent | 00b644c8e6dac272bfb30b65c3e2e8f9948f5ded (diff) |
weechat-matrix: fix startup crash
Python 3.10 has a bug in its SSL module. Fixes: https://github.com/NixOS/nixpkgs/issues/178540
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix | 6 |
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 2dc167012221e..601cb127ff1f6 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 |