flake: More concise devShell

No need for C compiler in development shell + use "packages" to
explicitly refer to devShell packages
This commit is contained in:
atse 2024-08-06 11:05:12 +08:00
parent 7333d2cea5
commit 1ae6a6fdd4

View File

@ -58,9 +58,9 @@
inherit thermostat; inherit thermostat;
}; };
devShells.x86_64-linux.default = pkgs.mkShell { devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "thermostat-dev-shell"; name = "thermostat-dev-shell";
buildInputs = with pkgs; [ packages = with pkgs; [
rust openocd dfu-util rust openocd dfu-util
] ++ (with python3Packages; [ ] ++ (with python3Packages; [
numpy matplotlib numpy matplotlib