flake.nix improvements & dedeprecate

This commit is contained in:
atse 2024-06-27 16:49:00 +08:00
parent df85df0c85
commit f6f8b191a0

View File

@ -113,6 +113,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 = {
@ -124,14 +125,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;
}; };
} }