firefox-{beta,devedition}: make binaryName match desktop file (#371598)
This commit is contained in:
@@ -425,6 +425,7 @@ buildStdenv.mkDerivation {
|
||||
"--disable-updater"
|
||||
"--enable-application=${application}"
|
||||
"--enable-default-toolkit=${toolkit}"
|
||||
"--with-app-name=${binaryName}"
|
||||
"--with-distribution-id=org.nixos"
|
||||
"--with-libclang-path=${lib.getLib llvmPackagesBuildBuild.libclang}/lib"
|
||||
"--with-wasi-sysroot=${wasiSysRoot}"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
buildMozillaMach rec {
|
||||
pname = "firefox-beta";
|
||||
binaryName = pname;
|
||||
version = "135.0b9";
|
||||
applicationName = "Mozilla Firefox Beta";
|
||||
src = fetchurl {
|
||||
@@ -27,7 +28,7 @@ buildMozillaMach rec {
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
mainProgram = binaryName;
|
||||
};
|
||||
tests = {
|
||||
inherit (nixosTests) firefox-beta;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
buildMozillaMach rec {
|
||||
pname = "firefox-devedition";
|
||||
binaryName = pname;
|
||||
version = "135.0b9";
|
||||
applicationName = "Mozilla Firefox Developer Edition";
|
||||
requireSigning = false;
|
||||
@@ -29,7 +30,7 @@ buildMozillaMach rec {
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
mainProgram = binaryName;
|
||||
};
|
||||
tests = {
|
||||
inherit (nixosTests) firefox-devedition;
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
};
|
||||
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=${pname}"
|
||||
"--with-app-basename=${applicationName}"
|
||||
"--with-unsigned-addon-scopes=app,system"
|
||||
"--enable-proxy-bypass-protection"
|
||||
|
||||
@@ -9,7 +9,6 @@ rec {
|
||||
extraPatches = [ "${source}/patches/pref-pane/pref-pane-small.patch" ];
|
||||
|
||||
extraConfigureFlags = [
|
||||
"--with-app-name=librewolf"
|
||||
"--with-unsigned-addon-scopes=app,system"
|
||||
];
|
||||
|
||||
|
||||
@@ -13407,16 +13407,10 @@ with pkgs;
|
||||
|
||||
firefox = wrapFirefox firefox-unwrapped { };
|
||||
firefox-beta = wrapFirefox firefox-beta-unwrapped {
|
||||
nameSuffix = "-beta";
|
||||
desktopName = "Firefox Beta";
|
||||
wmClass = "firefox-beta";
|
||||
icon = "firefox-beta";
|
||||
};
|
||||
firefox-devedition = wrapFirefox firefox-devedition-unwrapped {
|
||||
nameSuffix = "-devedition";
|
||||
desktopName = "Firefox Developer Edition";
|
||||
wmClass = "firefox-devedition";
|
||||
icon = "firefox-devedition";
|
||||
};
|
||||
|
||||
firefox-mobile = callPackage ../applications/networking/browsers/firefox/mobile-config.nix { };
|
||||
|
||||
Reference in New Issue
Block a user