10 buildMozillaMach rec {
14 url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
15 sha512 = "3f40ca5a753a66e08af4e8b12d75feab67b0567ecffd34f5cf013f49aeb809ccd458c8011e9456dc902c24eaf626078117874514eb40cee5574eafce93ee772d";
19 changelog = "https://www.mozilla.org/en-US/firefox/${version}/releasenotes/";
20 description = "Web browser built from Firefox source tree";
21 homepage = "http://www.mozilla.com/en-US/firefox/";
22 maintainers = with lib.maintainers; [
26 platforms = lib.platforms.unix;
27 broken = stdenv.buildPlatform.is32bit;
28 # since Firefox 60, build on 32-bit platforms fails with "out of memory".
29 # not in `badPlatforms` because cross-compilation on 64-bit machine might work.
30 maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
31 license = lib.licenses.mpl20;
32 mainProgram = "firefox";
35 inherit (nixosTests) firefox;
37 updateScript = callPackage ../update.nix {
38 attrPath = "firefox-unwrapped";