2022-05-08 18:27:40 +02:00
|
|
|
{
|
2022-05-17 13:11:24 +02:00
|
|
|
description = "Hyprland is a dynamic tiling Wayland compositor that doesn't sacrifice on its looks";
|
|
|
|
|
2022-05-08 18:27:40 +02:00
|
|
|
inputs = {
|
2022-05-17 13:11:24 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
wlroots = {
|
2022-05-16 17:01:28 +02:00
|
|
|
url = "gitlab:wlroots/wlroots?host=gitlab.freedesktop.org";
|
|
|
|
flake = false;
|
|
|
|
};
|
2022-05-08 18:27:40 +02:00
|
|
|
};
|
|
|
|
|
2022-05-17 13:11:24 +02:00
|
|
|
outputs = inputs @ {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
supportedSystems = [
|
|
|
|
"aarch64-linux"
|
|
|
|
"x86_64-linux"
|
|
|
|
];
|
|
|
|
genSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
|
|
pkgsFor = nixpkgs.legacyPackages;
|
|
|
|
in {
|
|
|
|
packages = genSystems (system: {
|
|
|
|
wlroots = pkgsFor.${system}.wlroots.overrideAttrs (prev: {
|
|
|
|
src = inputs.wlroots;
|
2022-05-08 18:27:40 +02:00
|
|
|
});
|
2022-05-17 13:11:24 +02:00
|
|
|
default = pkgsFor.${system}.callPackage ./default.nix {
|
|
|
|
version = self.lastModifiedDate;
|
|
|
|
inherit (self.packages.${system}) wlroots;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
2022-05-08 18:27:40 +02:00
|
|
|
}
|