From 12addff5d3e7c5677c1a56678c000958e5bd048a 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 9af4502..433017f 100644 --- a/flake.nix +++ b/flake.nix @@ -120,6 +120,7 @@ in { packages.x86_64-linux = { inherit thermostat thermostat_gui; + default = thermostat; }; apps.x86_64-linux.thermostat_gui = { @@ -131,14 +132,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