From 990437ad13f07b40eec1e3b1ff9ea8e7cf7ab689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BChlbacher?= Date: Wed, 5 Jun 2024 20:51:21 +0200 Subject: [PATCH] build(nix): add bear to dev shell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A useful addition to make sure is available, since we also make clangd available through clang-tools. bear can generate the `compile_commands.json` for clangd. For example with `make clean && bear -- make -j$(nproc)`. Signed-off-by: Thomas Mühlbacher --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 6c379313..5222d655 100644 --- a/flake.nix +++ b/flake.nix @@ -174,6 +174,7 @@ # development, and might need to be version matched with build # dependencies (e.g. clippy or rust-analyzer). packages = with pkgs; [ + bear cargo-audit cargo-outdated clang-tools