flake: Use rust from manifest, not from pkgs

Fix the rustPlatform deprecation warnings properly.
This commit is contained in:
atse 2023-09-20 11:23:37 +08:00
parent bb4f43fe1c
commit 78012f6fdd

View File

@ -67,8 +67,7 @@
devShell.x86_64-linux = pkgs.mkShell { devShell.x86_64-linux = pkgs.mkShell {
name = "thermostat-dev-shell"; name = "thermostat-dev-shell";
buildInputs = with pkgs; [ buildInputs = with pkgs; [
rustc cargo rust openocd dfu-util
openocd dfu-util
] ++ (with python3Packages; [ ] ++ (with python3Packages; [
numpy matplotlib numpy matplotlib
]); ]);