flake.nix: Update to latest flake schema

This commit is contained in:
adisbladis 2022-05-26 18:31:19 +08:00
parent d83a46b61f
commit f7074712e8

View file

@ -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; };
})
);
}