From b1dded91f6557c2456a2fb0cb9789e0a00a1ce9b Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 27 Jun 2024 16:49:00 +0800 Subject: [PATCH] flake.nix improvements & dedeprecate --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 203351d..c3344f4 100644 --- a/flake.nix +++ b/flake.nix @@ -51,20 +51,20 @@ in { packages.x86_64-linux = { inherit thermostat; + default = thermostat; }; hydraJobs = { inherit thermostat; }; - devShell.x86_64-linux = pkgs.mkShell { + devShells.x86_64-linux.default = pkgs.mkShellNoCC { name = "thermostat-dev-shell"; - buildInputs = with pkgs; [ + packages = with pkgs; [ rust openocd dfu-util ] ++ (with python3Packages; [ numpy matplotlib ]); }; - defaultPackage.x86_64-linux = thermostat; }; } \ No newline at end of file