From b037e8e4cafcf2c6ad26f1a73a45f245ff85bb3c Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 30 Jan 2024 16:05:09 +0800 Subject: [PATCH] flake: Install LLVM in devShell too Lets the developer use `cargo build` instead of `nix build` to obtain the final firmware build. --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c3344f4..8bea1d5 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,8 @@ devShells.x86_64-linux.default = pkgs.mkShellNoCC { name = "thermostat-dev-shell"; packages = with pkgs; [ - rust openocd dfu-util + rust llvm + openocd dfu-util ] ++ (with python3Packages; [ numpy matplotlib ]);