We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11bcef1 + a8cf34b commit d15b2e4Copy full SHA for d15b2e4
pkgs/applications/networking/browsers/firefox/common.nix
@@ -481,7 +481,9 @@ buildStdenv.mkDerivation {
481
(enableFeature enableDebugSymbols "debug-symbols")
482
]
483
++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
484
- ++ lib.optional enableOfficialBranding "--enable-official-branding"
+ # As of Firefox 137 (https://bugzilla.mozilla.org/show_bug.cgi?id=1943009),
485
+ # the --enable-official-branding flag overrides the --with-branding flag.
486
+ ++ lib.optional (enableOfficialBranding && branding == null) "--enable-official-branding"
487
++ lib.optional (branding != null) "--with-branding=${branding}"
488
++ extraConfigureFlags;
489
0 commit comments