qtwebengine: Work around missing define
Some checks are pending
nix flake check / check (aarch64-linux) (push) Waiting to run
nix flake check / check (x86_64-linux) (push) Waiting to run

This commit is contained in:
Mikael 2024-10-23 19:43:49 +02:00
parent 8c11f6bf01
commit 2bcb6e5d42
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

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