1
mirror of https://github.com/neovim/neovim.git synced 2024-12-28 14:31:13 -07:00

fix(flake): clang-tools moved to nativeBuildInputs ()

* fix(flake): clang-tools moved to nativeBuildInputs

Buildtime binaries should go in `nativeBuildInputs`
Before `clang-tools` version was overwriten breaking the Lsp.

Relevant issues:
https://github.com/NixOS/nixpkgs/issues/76486

* remove cmake, available in the nixpkgs derivation
This commit is contained in:
LamprosPitsillos 2024-01-12 22:12:43 +02:00 committed by GitHub
parent 07a7c0ec99
commit e32af31ee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,6 @@
buildInputs = with pkgs; buildInputs = with pkgs;
oa.buildInputs ++ [ oa.buildInputs ++ [
cmake
lua.pkgs.luacheck lua.pkgs.luacheck
sumneko-lua-language-server sumneko-lua-language-server
pythonEnv pythonEnv
@ -142,6 +141,10 @@
jq # jq for scripts/vim-patch.sh -r jq # jq for scripts/vim-patch.sh -r
shellcheck # for `make shlint` shellcheck # for `make shlint`
doxygen # for script/gen_vimdoc.py doxygen # for script/gen_vimdoc.py
];
nativeBuildInputs = with pkgs;
oa.nativeBuildInputs ++ [
clang-tools # for clangd to find the correct headers clang-tools # for clangd to find the correct headers
]; ];