flake: update from deprecated flake attributes
This commit is contained in:
parent
6530af39d8
commit
958cd30b33
18
flake.nix
18
flake.nix
|
@ -137,15 +137,17 @@
|
||||||
|
|
||||||
defaultApp = apps.diff-flake;
|
defaultApp = apps.diff-flake;
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShells = {
|
||||||
name = "NixOS-config";
|
default = pkgs.mkShell {
|
||||||
|
name = "NixOS-config";
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
gitAndTools.pre-commit
|
gitAndTools.pre-commit
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit (self.checks.${system}.pre-commit) shellHook;
|
inherit (self.checks.${system}.pre-commit) shellHook;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages =
|
packages =
|
||||||
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue