From 7333d2cea53695755040b66ae7caf3803ca1140a Mon Sep 17 00:00:00 2001
From: atse <atse@m-labs.hk>
Date: Thu, 27 Jun 2024 16:49:00 +0800
Subject: [PATCH] flake: Don't use deprecated flake output schemas

---
 flake.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix
index 203351d..9260f9f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,13 +51,14 @@
     in {
       packages.x86_64-linux = {
         inherit thermostat;
+        default = thermostat;
       };
 
       hydraJobs = {
         inherit thermostat;
       };
 
-      devShell.x86_64-linux = pkgs.mkShell {
+      devShells.x86_64-linux.default = pkgs.mkShell {
         name = "thermostat-dev-shell";
         buildInputs = with pkgs; [
           rust openocd dfu-util
@@ -65,6 +66,5 @@
             numpy matplotlib
           ]);
       };
-      defaultPackage.x86_64-linux = thermostat;
     };
 }
\ No newline at end of file