diff options
author | Jason Felice <jason.m.felice@gmail.com> | 2021-06-22 15:21:26 -0400 |
---|---|---|
committer | Jason Felice <jason.m.felice@gmail.com> | 2021-06-22 15:24:38 -0400 |
commit | e7b1e1997f2277e297068c5f0197611902e6bf33 (patch) | |
tree | 7f63fdfed1a7c040f1c26c43b4d6ad1f324e29ad /pkgs/applications/networking/irc | |
parent | 160831a5a8bfb0b204770272e89188e1b1921ae5 (diff) |
weechat: fix build on darwin
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/weechat/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix index ac6be7c97911e..69fca696d4db4 100644 --- a/pkgs/applications/networking/irc/weechat/default.nix +++ b/pkgs/applications/networking/irc/weechat/default.nix @@ -10,6 +10,7 @@ , rubySupport ? true, ruby , tclSupport ? true, tcl , extraBuildInputs ? [] +, fetchpatch }: let @@ -37,6 +38,15 @@ let sha256 = "0pck4lczkk52mgwa1n0habp1xqi9xsgsh5q6bbsjmdbandvy5vc8"; }; + patches = [ + # weechat 3.2 fails to build on Darwin, but is fixed for the next release: + (fetchpatch { + url = "https://github.com/weechat/weechat/commit/0b7e4977bef763993e361c23db0f52117b799949.patch"; + sha256 = "eVdrhr4mrqv+OkqYOv1E7mUkmzd5NC3LmZhbXJnCpFg="; + excludes = [ "ChangeLog.adoc" ]; + }) + ]; + outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; cmakeFlags = with lib; [ |