weechat: fix build on darwin
This commit is contained in:
parent
160831a5a8
commit
e7b1e1997f
1 changed files with 10 additions and 0 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue