summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2024-06-05 20:51:21 +0200
committerThomas Mühlbacher <tmuehlbacher@posteo.net>2024-06-10 00:04:13 +0200
commit990437ad13f07b40eec1e3b1ff9ea8e7cf7ab689 (patch)
tree8154d15acd066966d5f21cad514aaf1529071458
parentc2354f0326f5ad7fa5fd4d759f923f43daf9890a (diff)
build(nix): add bear to dev shell
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 <tmuehlbacher@posteo.net>
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
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