about summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-04-15 13:58:35 -0400
committerfigsoda <figsoda@pm.me>2023-04-15 13:58:35 -0400
commit5b3534dd2e437395f2d4ea5fece149316aadd709 (patch)
tree9656206cd42f5c7e772e2865daeeed3fcbce81e8 /pkgs/applications/editors/neovim
parentdd8117df895074806e8adbc565f543d6770eaf3d (diff)
downloadnixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar.gz
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar.bz2
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar.lz
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar.xz
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.tar.zst
nixlib-5b3534dd2e437395f2d4ea5fece149316aadd709.zip
neovim-unwrapped: apply patch to fix the `#gsub!` directive
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index fb850c7ca366..0e424affb043 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -49,6 +49,14 @@ in
       # necessary so that nix can handle `UpdateRemotePlugins` for the plugins
       # it installs. See https://github.com/neovim/neovim/issues/9413.
       ./system_rplugin_manifest.patch
+
+      # fix bug with the gsub directive
+      # https://github.com/neovim/neovim/pull/23015
+      (fetchpatch {
+        name = "use-the-correct-replacement-args-for-gsub-directive.patch";
+        url = "https://github.com/neovim/neovim/commit/ccc0980f86c6ef9a86b0e5a3a691f37cea8eb776.patch";
+        hash = "sha256-sZWM6M8jCL1e72H0bAc51a6FrH0mFFqTV1gGLwKT7Zo=";
+      })
     ];
 
     dontFixCmake = true;