nvim-treesitter-parsers: move env variable into env for structuredAttrs (#524049)

This commit is contained in:
Fabián Heredia Montiel 2026-06-03 23:19:34 +00:00 committed by GitHub
commit 3492386c26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,8 @@ stdenv.mkDerivation (
inherit version src;
__structuredAttrs = true;
nativeBuildInputs = [
jq
]
@ -30,14 +32,16 @@ stdenv.mkDerivation (
tree-sitter
];
CFLAGS = [
"-Isrc"
"-O2"
];
CXXFLAGS = [
"-Isrc"
"-O2"
];
env = {
CFLAGS = toString [
"-Isrc"
"-O2"
];
CXXFLAGS = toString [
"-Isrc"
"-O2"
];
};
stripDebugList = [ "parser" ];