-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weechat multiline.pl broken due to legacy Pod::Select being remove from perl #106506
Comments
This script should probably be packaged for nixpkgs so it can have a proper |
In the case of (weechat.override {
configure = { availablePlugins, ...}: {
plugins = with availablePlugins; [
(perl.withPackages(p: [ p.PodParser ]))
];
};
}) |
Thanks. I was able to get weechat = super.weechat.override {
configure = { availablePlugins, ... }: {
plugins = with availablePlugins; [
(perl.withPackages (p: [ p.PodParser ]))
] ++ [ python ];
scripts = with super.weechatScripts; [
wee-slack
] ++ self.stdenv.lib.optionals (!self.stdenv.isDarwin) [ weechat-notify-send ];
};
}; Edit: Hopefully for better clarity. |
Im consfused, and for better clarity for others who come across the same issue. What is the solution exactly? |
For those wondering, on Arch, one should install |
My solution is to override
Make sure you list all types of plugins (e.g. Perl and Python) that you intent to use, as this overrides that setting, instead of append to default values. |
On OSX installing Pod::Parser with cpan did the trick: brew install perl
cpan install Pod::Parser |
Describe the bug
I've been using
multiline.pl
in weechat for multi-line message support. After updating to NixOS 20.09 and weechat 2.9, the script no longer works.When trying to load that script, weechat had the following error:
To Reproduce
Steps to reproduce the behavior:
multiline.pl
from the official weechat repo$HOME/.weechat/perl/autoload
Expected behavior
No error message on weechat startup, and the multi-line message works
Additional context
I found this issue is already reported at weechat/scripts#421. On Arch linux, this seems to be solved by install the
Pod::Select
manually.Notify maintainers
@lovek323 @lheckemann
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: