This problem seems like it’s been around for awhile. When I run rofi with a similar setup as above I get on stderr:
(process:2813): Rofi-WARNING **: 16:21:21.037: ABI version of plugin: 'calc.so' does not match: 00000006 expecting: 00000007
I’ve found this open issue at nixpkgs and some other other mentions of this problem, suggesting the application of an overlay which ensures that rofi plugins are compiled against rofi-wayland headers. I can’t however seem to get this working as with the following home-manager module:
{ inputs, pkgs, ... }:
{
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
plugins = with pkgs; [
rofi-calc
];
};
nixpkgs.overlays = [
(final: prev: {
rofi-calc = prev.rofi-calc.override {
rofi-unwrapped = prev.rofi-wayland-unwrapped;
};
})
];
}
I get the same error.