aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamprosPitsillos <61395246+LamprosPitsillos@users.noreply.github.com>2024-01-12 22:12:43 +0200
committerGitHub <noreply@github.com>2024-01-12 21:12:43 +0100
commite32af31ee89c6a251e8d551a044c7876b9514579 (patch)
tree8aca059d4bd1c7796b3f084e4434bf58a90119b9
parent07a7c0ec999102f223a6aca17e93d33e18c02b94 (diff)
downloadrneovim-e32af31ee89c6a251e8d551a044c7876b9514579.tar.gz
rneovim-e32af31ee89c6a251e8d551a044c7876b9514579.tar.bz2
rneovim-e32af31ee89c6a251e8d551a044c7876b9514579.zip
fix(flake): clang-tools moved to nativeBuildInputs (#26955)
* 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
-rw-r--r--contrib/flake.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/flake.nix b/contrib/flake.nix
index 57e56d0fdb..51c2014d6c 100644
--- a/contrib/flake.nix
+++ b/contrib/flake.nix
@@ -134,7 +134,6 @@
buildInputs = with pkgs;
oa.buildInputs ++ [
- cmake
lua.pkgs.luacheck
sumneko-lua-language-server
pythonEnv
@@ -142,6 +141,10 @@
jq # jq for scripts/vim-patch.sh -r
shellcheck # for `make shlint`
doxygen # for script/gen_vimdoc.py
+ ];
+
+ nativeBuildInputs = with pkgs;
+ oa.nativeBuildInputs ++ [
clang-tools # for clangd to find the correct headers
];