aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorNarice <[email protected]>2022-05-14 16:36:05 +0100
committerNarice <[email protected]>2022-05-14 16:59:10 +0100
commit7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11 (patch)
tree06ee8d967fd39209befcf89e41d022d04b30927c /flake.nix
parent694f4433a2b6083cef5a4f43e974f9c70b9857af (diff)
downloadHyprland-7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11.tar.gz
Hyprland-7a5a10980d3a0f28f22e42fc3a159f74d1f3cd11.zip
Added overlay and overlays to flake.nix
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 002bf09b..29a16526 100644
--- a/flake.nix
+++ b/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;