From a74f2234b4ac24f9c111c502c8dc66692d06b369 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 23 Mar 2023 17:47:51 +0100 Subject: [PATCH] buildMozillaMach: add branding option to change the path where the branding is located --- pkgs/applications/networking/browsers/firefox/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 1666195bd7b1..e692e4730aca 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -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 = [