mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 05:15:39 +03:00
Added overlay and overlays to flake.nix
This commit is contained in:
parent
694f4433a2
commit
7a5a10980d
10
flake.nix
10
flake.nix
@ -9,9 +9,17 @@
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, nixpkgs-wayland }:
|
||||
utils.lib.eachDefaultSystem (system:
|
||||
{
|
||||
overlay = final: prev: {
|
||||
hyprland = prev.callPackage self {
|
||||
src = self;
|
||||
inherit (nixpkgs-wayland.overlay.waylandPkgs) wlroots;
|
||||
};
|
||||
};
|
||||
} // utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system};
|
||||
in rec {
|
||||
overlays = [ self.overlay ];
|
||||
packages = {
|
||||
hyprland = pkgs.callPackage self {
|
||||
src = self;
|
||||
|
Loading…
Reference in New Issue
Block a user