summaryrefslogtreecommitdiff
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
parentMerge pull request #250437 from r-ryantm/auto-update/docker-compose (diff)
downloadnixpkgs-b4bf3a54f2ba9b7dac23ac1f542240e7e5f215f3.tar.gz
weechat-unwrapped: patch for perl 5.38 locale issues
-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 6b2d7b380b9d..5defcf1b699f 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; [