neovim-unwrapped: enable structuredAttrs

To make treesitter-parsers referencable via finalAttrs, making it easier to modify/explore via repl
This commit is contained in:
Matthieu Coudron
2024-01-15 17:34:43 +01:00
parent c4be1f71a5
commit cbb7b09bad

View File

@@ -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