flake: update from deprecated flake attributes
This commit is contained in:
parent
ed8aae565e
commit
223f09b655
18
flake.nix
18
flake.nix
|
@ -137,15 +137,17 @@
|
|||
|
||||
defaultApp = apps.diff-flake;
|
||||
|
||||
devShell = pkgs.mkShell {
|
||||
name = "NixOS-config";
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
name = "NixOS-config";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
gitAndTools.pre-commit
|
||||
nixpkgs-fmt
|
||||
];
|
||||
nativeBuildInputs = with pkgs; [
|
||||
gitAndTools.pre-commit
|
||||
nixpkgs-fmt
|
||||
];
|
||||
|
||||
inherit (self.checks.${system}.pre-commit) shellHook;
|
||||
inherit (self.checks.${system}.pre-commit) shellHook;
|
||||
};
|
||||
};
|
||||
|
||||
packages =
|
||||
|
@ -157,8 +159,6 @@
|
|||
in
|
||||
finalPackages;
|
||||
}) // {
|
||||
overlay = self.overlays.pkgs;
|
||||
|
||||
overlays = import ./overlays // {
|
||||
lib = final: prev: { inherit lib; };
|
||||
pkgs = final: prev: {
|
||||
|
|
Loading…
Reference in a new issue