home.packages = with pkgs; [
...
unstable.vimv
...
];
Unfortunately when I try to home-manager switch I get the following error:
error: anonymous function at /nix/store/2nqpjn55jwb4zbwc8k0fwf32bmvk79q1-nixos-unstable-21.05pre273435.0aeba64fb26/nixos-unstable/pkgs/tools/misc/vimv/default.nix:1:1 called with unexpected argument 'meta', at /nix/store/2nqpjn55jwb4zbwc8k0fwf32bmvk79q1-nixos-unstable-21.05pre273435.0aeba64fb26/nixos-unstable/lib/customisation.nix:69:16
(use '--show-trace' to show detailed location information)
and as such, it will override the whole meta attribute (e.g. it will remove meta.homepage)
It might not matter to you when installing the package but it is a good idea to avoid the incorrect approach and merge the overridden value into the old meta:
(pkgs.vimv.overrideAttrs (attrs: {
meta = attrs.meta or {} // {
platforms = pkgs.lib.platforms.unix;
};
}))