icinga2: Add pname to .vim

Makes it compatible with the vim module of home-manager which expects
pname to be set.
This commit is contained in:
Janne Heß 2022-10-04 11:50:20 +02:00
parent 0490b307e5
commit 3d92e81834
No known key found for this signature in database
GPG Key ID: 69165158F05265DF

View File

@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
''}
'';
vim = runCommand "vim-icinga2-${version}" {} ''
vim = runCommand "vim-icinga2-${version}" { pname = "vim-icinga2"; } ''
mkdir -p $out/share/vim-plugins
cp -r "${src}/tools/syntax/vim" $out/share/vim-plugins/icinga2
'';