qtwebengine: Work around missing define
This commit is contained in:
parent
8c11f6bf01
commit
2bcb6e5d42
1 changed files with 9 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
inherit (final) system;
|
inherit (final) system;
|
||||||
inherit (nixpkgs.lib.attrsets) genAttrs mapAttrsToList;
|
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 (nixpkgs.lib.strings) mesonBool mesonEnable;
|
||||||
inherit (self.lib) substituteFlags removePackages;
|
inherit (self.lib) substituteFlags removePackages;
|
||||||
|
|
||||||
|
@ -330,6 +330,14 @@ in genAttrs [
|
||||||
postgresql = null;
|
postgresql = null;
|
||||||
qttranslations = 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 {
|
systemd = prev.systemd.override {
|
||||||
|
|
Loading…
Reference in a new issue