diff --git a/nix/default.nix b/nix/default.nix index 1531a7a2..27ecdf60 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -11,7 +11,7 @@ cairo, epoll-shim, git, - glaze, + glaze-hyprland, gtest, hyprcursor, hyprgraphics, @@ -143,7 +143,7 @@ in aquamarine cairo git - glaze + glaze-hyprland gtest hyprcursor hyprgraphics diff --git a/nix/overlays.nix b/nix/overlays.nix index 9d855e77..fdb3e652 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -30,6 +30,7 @@ in { inputs.hyprwayland-scanner.overlays.default inputs.hyprwire.overlays.default self.overlays.udis86 + self.overlays.glaze # Hyprland packages themselves (final: _prev: let @@ -110,4 +111,13 @@ in { patches = []; }); }; + + # Even though glaze itself disables it by default, nixpkgs sets ENABLE_SSL set to true. + # Since we don't include openssl, the build failes without the `enableSSL = false;` override + glaze = final: prev: { + glaze-hyprland = prev.glaze.override { + enableSSL = false; + enableInterop = false; + }; + }; }