qtwebengine: Work around missing define
This commit is contained in:
parent
8c11f6bf01
commit
28e2114a2f
1 changed files with 9 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue