From 61ad29f4c6b26926f979b75858f913ed44d0d66a Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 23 Oct 2024 19:43:49 +0200 Subject: [PATCH] qtwebengine: Work around missing define --- overlay/modern-minimal.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 9faceb9..8f99934 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -330,6 +330,14 @@ in genAttrs [ postgresql = null; qttranslations = null; }; + + qtwebengine = prev.qtwebengine.overrideAttrs (prevAttrs: { + env = prevAttrs.env or { } // { + # hacky + NIX_CFLAGS_COMPILE = toList prevAttrs.env.NIX_CFLAGS_COMPILE or [ ] ++ + [ "-DGL_RGBA8_OES=0x8058" ]; + }; + }); }); systemd = prev.systemd.override {