summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-03-30 04:50:55 +0200
committerGitHub <noreply@github.com>2022-03-30 04:50:55 +0200
commitba93b1d8253ed4b359b9e81d10e02c106d3f8b11 (patch)
tree1f05b50d029549c49452b6728678bd23913d18d3
parentb07247a380c87e2db2b75966313074ccbc9fd4a0 (diff)
parenta731c9b7531f36439b39c4923d99a81683b4305d (diff)
Merge pull request #164134 from mweinelt/21.11-weechat-wsa-2022-1
-rw-r--r--pkgs/applications/networking/irc/weechat/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index 80f15eeff3c5..e7674a0c316c 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -40,6 +40,18 @@ let
outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
+ patches = [
+ (fetchpatch {
+ # Fix certificate validiation with modified GnuTLS options
+ # https://weechat.org/doc/security/WSA-2022-1/
+ url = "https://github.com/weechat/weechat/commit/600413909804edfd32c53ea3d47db5b6d2871a89.patch";
+ sha256 = "sha256-56m/XoTiQhh2WGCSCdHxuA0bpgOxC6QGKZ25hm7dfdg=";
+ excludes = [
+ "ChangeLog.adoc"
+ ];
+ })
+ ];
+
cmakeFlags = with lib; [
"-DENABLE_MAN=ON"
"-DENABLE_DOC=ON"