From 1ff801f5f32c2d905aee9ce3845e7c350479e53b Mon Sep 17 00:00:00 2001 From: Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> Date: Thu, 11 Dec 2025 00:32:51 +0000 Subject: [PATCH] Nix: fix glaze build for CI and devShell (#12616) --- nix/default.nix | 4 ++-- nix/overlays.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index 1531a7a28..27ecdf604 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 9d855e77d..fdb3e6528 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; + }; + }; }