commit e32af31ee89c6a251e8d551a044c7876b9514579
parent 07a7c0ec999102f223a6aca17e93d33e18c02b94
Author: LamprosPitsillos <61395246+LamprosPitsillos@users.noreply.github.com>
Date: Fri, 12 Jan 2024 22:12:43 +0200
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
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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
];