diff --git a/flake.nix b/flake.nix index e0a7c9a..a55c902 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,7 @@ }; nativeBuildInputs = [ pkgs.llvm ]; + buildPhase = '' cargo build --release --bin thermostat ''; @@ -69,7 +70,7 @@ buildInputs = with pkgs; [ rustPlatform.rust.rustc rustPlatform.rust.cargo - gcc openocd dfu-util + openocd dfu-util ] ++ (with python3Packages; [ numpy matplotlib ]);