feat(flake): reduce duplicated inputs in flake.lock
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
22d186472e
commit
bd445b3809
4 changed files with 19 additions and 4 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -29,7 +29,11 @@ let
|
||||||
repo = "nurl";
|
repo = "nurl";
|
||||||
};
|
};
|
||||||
|
|
||||||
# These are here to make sure all 'systems' are the same
|
# These are here to make sure all 'systems' and popular inputs are the same
|
||||||
|
flake-compat = mkInput {
|
||||||
|
owner = "edolstra";
|
||||||
|
repo = "flake-compat";
|
||||||
|
};
|
||||||
flake-utils = mkInput {
|
flake-utils = mkInput {
|
||||||
owner = "numtide";
|
owner = "numtide";
|
||||||
repo = "flake-utils";
|
repo = "flake-utils";
|
||||||
|
@ -47,6 +51,15 @@ let
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = "lib-aggregate";
|
repo = "lib-aggregate";
|
||||||
};
|
};
|
||||||
|
nix-github-actions = mkDep {
|
||||||
|
owner = "nix-community";
|
||||||
|
repo = "nix-github-actions";
|
||||||
|
};
|
||||||
|
pre-commit-hooks = mkDep {
|
||||||
|
owner = "cachix";
|
||||||
|
repo = "git-hooks.nix";
|
||||||
|
inputs.flake-compat.follows = "flake-compat";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays = {
|
overlays = {
|
||||||
|
@ -133,11 +146,10 @@ let
|
||||||
repo = "hyprpaper";
|
repo = "hyprpaper";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
hyprgraphics.follows = "hyprland/hyprgraphics";
|
||||||
hyprlang.follows = "hyprland/hyprlang";
|
hyprlang.follows = "hyprland/hyprlang";
|
||||||
hyprutils.follows = "hyprland/hyprutils";
|
hyprutils.follows = "hyprland/hyprutils";
|
||||||
hyprwayland-scanner.follows = "hyprland/hyprwayland-scanner";
|
hyprwayland-scanner.follows = "hyprland/hyprwayland-scanner";
|
||||||
nixpkgs.follows = "hyprland/nixpkgs";
|
|
||||||
systems.follows = "hyprland/systems";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,11 +34,14 @@ in rec {
|
||||||
info
|
info
|
||||||
{inherit type;}
|
{inherit type;}
|
||||||
(mkOverride "systems")
|
(mkOverride "systems")
|
||||||
|
(mkOverride "flake-compat")
|
||||||
(mkOverride "flake-utils")
|
(mkOverride "flake-utils")
|
||||||
(mkOverride "flake-parts")
|
(mkOverride "flake-parts")
|
||||||
(mkOverride "treefmt-nix")
|
|
||||||
(mkOverride "lib-aggregate")
|
(mkOverride "lib-aggregate")
|
||||||
(mkOverride "nix-eval-jobs")
|
(mkOverride "nix-eval-jobs")
|
||||||
|
(mkOverride "nix-github-actions")
|
||||||
|
(mkOverride "pre-commit-hooks")
|
||||||
|
(mkOverride "treefmt-nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
mkDep = info: mkInput (recursiveUpdate info {inputs.nixpkgs.follows = "nixpkgs";});
|
mkDep = info: mkInput (recursiveUpdate info {inputs.nixpkgs.follows = "nixpkgs";});
|
||||||
|
|
Loading…
Reference in a new issue