flake: update from deprecated flake attributes

This commit is contained in:
Bruno BELANYI 2022-04-18 14:08:57 +02:00
parent ed8aae565e
commit 223f09b655

View file

@ -137,7 +137,8 @@
defaultApp = apps.diff-flake; defaultApp = apps.diff-flake;
devShell = pkgs.mkShell { devShells = {
default = pkgs.mkShell {
name = "NixOS-config"; name = "NixOS-config";
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
@ -147,6 +148,7 @@
inherit (self.checks.${system}.pre-commit) shellHook; inherit (self.checks.${system}.pre-commit) shellHook;
}; };
};
packages = packages =
let let
@ -157,8 +159,6 @@
in in
finalPackages; finalPackages;
}) // { }) // {
overlay = self.overlays.pkgs;
overlays = import ./overlays // { overlays = import ./overlays // {
lib = final: prev: { inherit lib; }; lib = final: prev: { inherit lib; };
pkgs = final: prev: { pkgs = final: prev: {