summary refs log tree commit diff
path: root/pkgs/applications/networking/irc
diff options
context:
space:
mode:
authorarcnmx <git@git.arcn.mx>2023-08-21 12:07:09 -0700
committerarcnmx <git@git.arcn.mx>2023-08-21 13:34:31 -0700
commitb4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3 (patch)
treed3b271d034295a62c53a88238063adc2bf98f462 /pkgs/applications/networking/irc
parent24a6b33776897700f8adf4b4449ceeb375c255ba (diff)
downloadnixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.gz
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.bz2
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.lz
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.xz
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.zst
nixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.zip
weechat-unwrapped: patch for perl 5.38 locale issues
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r--pkgs/applications/networking/irc/weechat/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index 6b2d7b380b9..5defcf1b699 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, lib
+{ stdenv, fetchurl, fetchpatch, lib
 , ncurses, openssl, aspell, gnutls, gettext
 , zlib, curl, pkg-config, libgcrypt
 , cmake, libobjc, libresolv, libiconv
@@ -46,6 +46,13 @@ let
         hash = "sha256-iA29zo5zs/SAKggsShp8YZQ9vFhn16lWleTkY8ZTWpI=";
       };
 
+      patches = lib.optional (perlSupport && lib.versionAtLeast perl.version "5.38") (fetchpatch {
+        name = "perl538-locale.patch";
+        url = "https://github.com/weechat/weechat/commit/c5eb982424150894959b978d98dcf6a005eb6c9f.patch";
+        excludes = [ "ChangeLog.adoc" ];
+        sha256 = "sha256-SSDZy4/c12LOxjvFMuJSv6gJEX298wF62/gQLQ/geiU=";
+      });
+
       outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
 
       cmakeFlags = with lib; [