aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/browsers/firefox/packages.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2020-03-06 02:36:01 +0000
committervolth <volth@volth.com>2020-03-06 03:53:14 +0000
commited33a6c327758a63878d98ae183a7fe3b3df229b (patch)
treeb90c5ead91a8d32598947c710cb696f8c49d1ba1 /pkgs/applications/networking/browsers/firefox/packages.nix
parent93ba4ecd58602d3f69f74f9d45d60a8f949544e2 (diff)
firefox: mark as broken on 32-bit buildPlatform
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/packages.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/packages.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix
index b94a33bfa871..f06eb1c43709 100644
--- a/pkgs/applications/networking/browsers/firefox/packages.nix
+++ b/pkgs/applications/networking/browsers/firefox/packages.nix
@@ -1,4 +1,4 @@
-{ config, lib, callPackage, fetchurl }:
+{ config, stdenv, lib, callPackage, fetchurl }:
let
common = opts: callPackage (import ./common.nix opts) {};
@@ -23,6 +23,8 @@ rec {
maintainers = with lib.maintainers; [ eelco andir ];
platforms = lib.platforms.unix;
badPlatforms = lib.platforms.darwin;
+ broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
+ # not in `badPlatforms` because cross-compilation on 64-bit machine might work.
license = lib.licenses.mpl20;
};
updateScript = callPackage ./update.nix {