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

Commit

Permalink
flake: inputs: systems and nixpkgs follow hyprland
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Jun 20, 2024
1 parent 6f50fdb commit 9699ede
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 9 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
{
description = "Hyprland Plugins (Hycov)";

inputs.hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
inputs = {
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
nixpkgs.follows = "hyprland/nixpkgs";
systems.follows = "hyprland/systems";
};

outputs =
{ self
, hyprland
, nixpkgs
, systems
}:
let
inherit (hyprland.inputs) nixpkgs;
inherit (nixpkgs) lib;
systems = lib.attrNames hyprland.packages;
withPkgsFor = fn: lib.genAttrs systems (system:
withPkgsFor = fn: lib.genAttrs (import systems) (system:
let
pkgs = import nixpkgs {
localSystem.system = system;
Expand Down

0 comments on commit 9699ede

Please sign in to comment.