From e32af31ee89c6a251e8d551a044c7876b9514579 Mon Sep 17 00:00:00 2001 From: LamprosPitsillos <61395246+LamprosPitsillos@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:12:43 +0200 Subject: [PATCH] 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 --- contrib/flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ];