From 56a9580aeb88c4945d0c6dfa23b5051a5b5c520b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BChlbacher?= <tmuehlbacher@posteo.net>
Date: Wed, 22 May 2024 21:42:26 +0200
Subject: [PATCH] build(nix): add some packages to the dev shell
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
---
 flake.nix | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/flake.nix b/flake.nix
index 1070466e..111f7d7f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -56,6 +56,17 @@
             ];
 
             LIBCLANG_PATH = "${pkgs.clang.cc.lib}/lib";
+
+            # here go packages that aren't required for builds but are used for
+            # development, and might need to be version matched with build
+            # dependencies (e.g. clippy or rust-analyzer).
+            packages = with pkgs; [
+              cargo-audit
+              cargo-outdated
+              clang-tools
+              clippy
+              rust-analyzer
+            ];
           };
 
           treefmt.config = {