8887e1f697
If I have a patch I want to apply to weechat, I can't do that with
overrideAttrs like I can with almost every other package, because that
only applies to the wrapper derivation. For other wrapped packages, one
can usually call the wrapper with any version of the derivation, but the
weechat derivation didn't expose a wrapper creation function.
Taking inspiration from other packages, particularly Firefox, I
extracted the wrapper into its own function, made the default weechat
derivation use that, and added weechat-unwrapped.
Now I can add my custom patch like this:
(wrapWeechat
(weechat-unwrapped.overrideAttrs (oldAttrs: {
patches = [
(fetchpatch {
url = "
|
||
---|---|---|
.. | ||
bip | ||
chatzilla | ||
communi | ||
epic5 | ||
hexchat | ||
ii | ||
irssi | ||
konversation | ||
quassel | ||
qweechat | ||
sic | ||
weechat | ||
wraith |