mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nvim-treesitter-parsers: move env variable into env for structuredAttrs (#524049)
This commit is contained in:
commit
3492386c26
1 changed files with 12 additions and 8 deletions
|
|
@ -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" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue