From de89bbe3e907c907f95cc2c60956d3c6afa910f1 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Sun, 30 Apr 2023 11:20:13 -0300 Subject: [PATCH] vimPlugins.phpactor: init at 2023.01.21 --- pkgs/applications/editors/vim/plugins/overrides.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index e610e7c14ccf..5900d3ce34dd 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -36,6 +36,7 @@ , openscad , pandoc , parinfer-rust +, phpactor , ripgrep , skim , sqlite @@ -777,6 +778,14 @@ self: super: { inherit parinfer-rust; + phpactor = buildVimPluginFrom2Nix { + inherit (phpactor) pname src meta version; + postPatch = '' + substituteInPlace plugin/phpactor.vim \ + --replace "g:phpactorpath = expand(':p:h') . '/..'" "g:phpactorpath = '${phpactor}'" + ''; + }; + playground = super.playground.overrideAttrs (old: { dependencies = with self; [ # we need the 'query' grammer to make