From f7074712e85c9e2449982ba8c97a6ad4b9295cd8 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Thu, 26 May 2022 18:31:19 +0800 Subject: [PATCH] flake.nix: Update to latest flake schema --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index fb7e7bc..4c9c5cd 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,7 @@ outputs = { self, nixpkgs, utils }: { - overlay = import ./overlay.nix; + overlays.default = import ./overlay.nix; } // (utils.lib.eachDefaultSystem (system: @@ -15,13 +15,13 @@ pkgs = import nixpkgs { inherit system; overlays = [ - self.overlay + self.overlays.default ]; }; in { - defaultPackage = pkgs.callPackage ./default.nix { }; - devShell = import ./shell.nix { inherit pkgs; }; + packages.default = pkgs.callPackage ./default.nix { }; + devShells.default = import ./shell.nix { inherit pkgs; }; }) ); }