diff options
author | Narice <[email protected]> | 2022-05-14 16:36:05 +0100 |
---|---|---|
committer | Narice <[email protected]> | 2022-05-14 16:59:10 +0100 |
commit | 7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11 (patch) | |
tree | 06ee8d967fd39209befcf89e41d022d04b30927c | |
parent | 694f4433a2b6083cef5a4f43e974f9c70b9857af (diff) | |
download | Hyprland-7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11.tar.gz Hyprland-7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11.zip |
Added overlay and overlays to flake.nix
-rw-r--r-- | flake.nix | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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; |