summaryrefslogtreecommitdiff
path: root/hyprland.nix
blob: bf7286b00f36cacabaa03c32366303f7cf92b5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ inputs }:
self: super: {
  hyprland =
    with super;
    with super.lib;
    (hyprland.override { }).overrideAttrs (old: rec {
      version = "git";
      src = fetchGit {
        url = "https://github.com/hyprwm/Hyprland";
        ref = "main";
#        rev = "5ee35f914f921e5696030698e74fb5566a804768";
        submodules = true;
      };
      buildInputs = old.buildInputs ++ [ glaze ];
        mesonFlags = concatLists [ 
    (mapAttrsToList mesonEnable { 
      "xwayland" = true; 
      "systemd" = true;
      "uwsm" = false;
      "hyprpm" = false; 
    }) 
    (mapAttrsToList mesonBool { 
      # PCH provides no benefits when building with Nix 
      "b_pch" = false;
      "tracy_enable" = false; 
    }) 
  ];
    });
}