From f6f8b191a00c82e93f7049fe0cf7c1707cae8d6f 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 da2be9f..0350d77 100644 --- a/flake.nix +++ b/flake.nix @@ -113,6 +113,7 @@ in { packages.x86_64-linux = { inherit thermostat thermostat_gui; + default = thermostat; }; apps.x86_64-linux.thermostat_gui = { @@ -124,14 +125,13 @@ 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 pyqtgraph setuptools pyqt6 qasync pglive qtextras ]); }; - defaultPackage.x86_64-linux = thermostat; }; } \ No newline at end of file