mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
buildMozillaMach: add branding option to change the path where the branding is located
This commit is contained in:
parent
940594acff
commit
a74f2234b4
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
, binaryName ? "firefox"
|
, binaryName ? "firefox"
|
||||||
, application ? "browser"
|
, application ? "browser"
|
||||||
, applicationName ? "Mozilla Firefox"
|
, applicationName ? "Mozilla Firefox"
|
||||||
|
, branding ? null
|
||||||
, src
|
, src
|
||||||
, unpackPhase ? null
|
, unpackPhase ? null
|
||||||
, extraPatches ? []
|
, extraPatches ? []
|
||||||
|
@ -390,6 +391,7 @@ buildStdenv.mkDerivation ({
|
||||||
]
|
]
|
||||||
++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
|
++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
|
||||||
++ lib.optional enableOfficialBranding "--enable-official-branding"
|
++ lib.optional enableOfficialBranding "--enable-official-branding"
|
||||||
|
++ lib.optional (branding != null) "--with-branding=${branding}"
|
||||||
++ extraConfigureFlags;
|
++ extraConfigureFlags;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue