Nix: fix glaze build for CI and devShell (#12616)

This commit is contained in:
Maximilian Seidler 2025-12-11 00:32:51 +00:00 committed by GitHub
parent 3cf6dfd7e6
commit 1ff801f5f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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;
};
};
}