buildMozillaMach: add branding option to change the path where the branding is located

This commit is contained in:
jopejoe1 2023-03-23 17:47:51 +01:00
parent 940594acff
commit a74f2234b4

View file

@ -5,6 +5,7 @@
, binaryName ? "firefox"
, application ? "browser"
, applicationName ? "Mozilla Firefox"
, branding ? null
, src
, unpackPhase ? null
, extraPatches ? []
@ -390,6 +391,7 @@ buildStdenv.mkDerivation ({
]
++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
++ lib.optional enableOfficialBranding "--enable-official-branding"
++ lib.optional (branding != null) "--with-branding=${branding}"
++ extraConfigureFlags;
buildInputs = [