buildMozillaMach: set include path for dbus from version 120

Upstream issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1864083

(cherry picked from commit 6f0c86b324)
This commit is contained in:
Martin Weinelt
2023-11-10 22:38:51 +01:00
parent 6d20bf891c
commit 0e405baef7

View File

@@ -497,6 +497,9 @@ buildStdenv.mkDerivation ({
preBuild = ''
cd mozobj
'' + lib.optionalString (lib.versionAtLeast version "120") ''
# https://bugzilla.mozilla.org/show_bug.cgi?id=1864083
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
'';
postBuild = ''