diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 9faceb9..46d78d7 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -3,7 +3,7 @@ let inherit (final) system; inherit (nixpkgs.lib.attrsets) genAttrs mapAttrsToList; - inherit (nixpkgs.lib.lists) remove subtractLists; + inherit (nixpkgs.lib.lists) remove subtractLists toList; inherit (nixpkgs.lib.strings) mesonBool mesonEnable; inherit (self.lib) substituteFlags removePackages; @@ -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" ] |> toString; + }; + }); }); systemd = prev.systemd.override {