buildMozillaMach: set include path for dbus from version 120

Upstream issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1864083
This commit is contained in:
Martin Weinelt 2023-11-10 22:38:51 +01:00
parent 4e4bbb01eb
commit 6f0c86b324
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -503,6 +503,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 = ''