summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/common.nix
diff options
context:
space:
mode:
authorjopejoe1 <johannes@joens.email>2023-03-23 17:47:51 +0100
committerjopejoe1 <johannes@joens.email>2023-03-23 19:10:48 +0100
commita74f2234b4ac24f9c111c502c8dc66692d06b369 (patch)
treefcebf783708dc935aba47522e6a5403f13f4de91 /pkgs/applications/networking/browsers/firefox/common.nix
parent940594acff5844526d28a43b0d8424c78a7bdd74 (diff)
downloadnixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar.gz
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar.bz2
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar.lz
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar.xz
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.tar.zst
nixpkgs-a74f2234b4ac24f9c111c502c8dc66692d06b369.zip
buildMozillaMach: add branding option to change the path where the branding is located
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 1666195bd7b..e692e4730ac 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 = [