summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com>2025-12-11 00:32:51 +0000
committerGitHub <noreply@github.com>2025-12-11 00:32:51 +0000
commit1ff801f5f32c2d905aee9ce3845e7c350479e53b (patch)
tree1d1be8eb6e013625fd2253b3aa379499b6d52a6b
parent3cf6dfd7e6ac6f122db730de2a0846960eabb7bd (diff)
Nix: fix glaze build for CI and devShell (#12616)
-rw-r--r--nix/default.nix4
-rw-r--r--nix/overlays.nix10
2 files changed, 12 insertions, 2 deletions
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;
+ };
+ };
}