Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 9699ede

Browse files
committed
flake: inputs: systems and nixpkgs follow hyprland
1 parent 6f50fdb commit 9699ede

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

flake.lock

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
{
22
description = "Hyprland Plugins (Hycov)";
33

4-
inputs.hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
4+
inputs = {
5+
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
6+
nixpkgs.follows = "hyprland/nixpkgs";
7+
systems.follows = "hyprland/systems";
8+
};
59

610
outputs =
711
{ self
812
, hyprland
13+
, nixpkgs
14+
, systems
915
}:
1016
let
11-
inherit (hyprland.inputs) nixpkgs;
1217
inherit (nixpkgs) lib;
13-
systems = lib.attrNames hyprland.packages;
14-
withPkgsFor = fn: lib.genAttrs systems (system:
18+
withPkgsFor = fn: lib.genAttrs (import systems) (system:
1519
let
1620
pkgs = import nixpkgs {
1721
localSystem.system = system;

0 commit comments

Comments
 (0)