about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-04-30 18:01:17 +0000
committerGitHub <noreply@github.com>2023-04-30 18:01:17 +0000
commit2b265000ed76a4493d7aa5ce07a65ad6a55a7662 (patch)
tree28ef2e2139e15e180a7b8e2d1f0d442fea0b4c7e /pkgs/applications/editors
parentbb2433147d24303d0f6356d57b32029893790bea (diff)
parent50200de3f4d3456d6d0eeca52982bf9c6adef80b (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/vim/plugins/overrides.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix
index e610e7c14ccf1..5900d3ce34dd8 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('<sfile>:p:h') . '/..'" "g:phpactorpath = '${phpactor}'"
+    '';
+  };
+
   playground = super.playground.overrideAttrs (old: {
     dependencies = with self; [
       # we need the 'query' grammer to make