flake.nix improvements & dedeprecate

This commit is contained in:
atse 2024-06-27 16:49:00 +08:00
parent 6e902bba28
commit 12addff5d3

View File

@ -120,6 +120,7 @@
in { in {
packages.x86_64-linux = { packages.x86_64-linux = {
inherit thermostat thermostat_gui; inherit thermostat thermostat_gui;
default = thermostat;
}; };
apps.x86_64-linux.thermostat_gui = { apps.x86_64-linux.thermostat_gui = {
@ -131,14 +132,13 @@
inherit thermostat; inherit thermostat;
}; };
devShell.x86_64-linux = pkgs.mkShell { devShells.x86_64-linux.default = pkgs.mkShellNoCC {
name = "thermostat-dev-shell"; name = "thermostat-dev-shell";
buildInputs = with pkgs; [ packages = with pkgs; [
rust openocd dfu-util rust openocd dfu-util
] ++ (with python3Packages; [ ] ++ (with python3Packages; [
numpy matplotlib pyqtgraph setuptools pyqt6 qasync pglive qtextras numpy matplotlib pyqtgraph setuptools pyqt6 qasync pglive qtextras
]); ]);
}; };
defaultPackage.x86_64-linux = thermostat;
}; };
} }