mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:09:49 +01:00
Added overlay and overlays to flake.nix
This commit is contained in:
parent
694f4433a2
commit
7a5a10980d
1 changed files with 9 additions and 1 deletions
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 a new issue