Skip to content

Commit d15b2e4

Browse files
authored
firefox-devedition-unwrapped: fix branding (#389712)
2 parents 11bcef1 + a8cf34b commit d15b2e4

File tree

1 file changed

+3
-1
lines changed
  • pkgs/applications/networking/browsers/firefox

1 file changed

+3
-1
lines changed

pkgs/applications/networking/browsers/firefox/common.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,9 @@ buildStdenv.mkDerivation {
481481
(enableFeature enableDebugSymbols "debug-symbols")
482482
]
483483
++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
484-
++ lib.optional enableOfficialBranding "--enable-official-branding"
484+
# 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"
485487
++ lib.optional (branding != null) "--with-branding=${branding}"
486488
++ extraConfigureFlags;
487489

0 commit comments

Comments
 (0)