hyprland-plugins/flake.nix

18 lines
473 B
Nix
Raw Permalink Normal View History

2023-03-29 09:57:23 +02:00
{
2023-04-18 20:00:31 +02:00
inputs.hyprland.url = "github:horriblename/Hyprland/nix-pluginenv";
2023-03-29 09:57:23 +02:00
outputs = {
self,
hyprland,
}: let
inherit (hyprland.inputs) nixpkgs;
withPkgsFor = fn: nixpkgs.lib.genAttrs (builtins.attrNames hyprland.packages) (system: fn system nixpkgs.legacyPackages.${system});
in {
packages = withPkgsFor (system: pkgs: {
hyprbars = pkgs.callPackage ./hyprbars {
inherit (hyprland.packages.${system}) hyprland;
};
});
};
}