mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-26 01:03:51 +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 }:
|
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};
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in rec {
|
in rec {
|
||||||
|
overlays = [ self.overlay ];
|
||||||
packages = {
|
packages = {
|
||||||
hyprland = pkgs.callPackage self {
|
hyprland = pkgs.callPackage self {
|
||||||
src = self;
|
src = self;
|
||||||
|
Loading…
Reference in New Issue
Block a user