about summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorMatthieu Coudron <886074+teto@users.noreply.github.com>2024-01-15 17:34:43 +0100
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2024-01-16 10:05:21 +0100
commitcbb7b09bad82e5a7b8a1dce70948652da05276fc (patch)
tree262e7c8fab6dc196cc5cef97da830500e7804f48 /pkgs/applications/editors/neovim
parentc4be1f71a512cbb4bd68ef8da99025023048f6d3 (diff)
downloadnixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar.gz
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar.bz2
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar.lz
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar.xz
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.tar.zst
nixlib-cbb7b09bad82e5a7b8a1dce70948652da05276fc.zip
neovim-unwrapped: enable structuredAttrs
To make treesitter-parsers referencable via finalAttrs, making it easier to modify/explore via repl
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index 82bb404fd24a..aa5b007c4d1b 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -68,6 +68,8 @@ in {
     pname = "neovim-unwrapped";
     version = "0.9.5";
 
+    __structuredAttrs = true;
+
     src = fetchFromGitHub {
       owner = "neovim";
       repo = "neovim";
@@ -84,7 +86,7 @@ in {
 
     dontFixCmake = true;
 
-    inherit lua;
+    inherit lua treesitter-parsers;
 
     buildInputs = [
       gperf
@@ -171,7 +173,7 @@ in {
           }}/parser \
           $out/lib/nvim/parser/${language}.so
       '')
-      treesitter-parsers);
+      finalAttrs.treesitter-parsers);
 
     shellHook=''
       export VIMRUNTIME=$PWD/runtime