about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-08-25 14:53:27 +0200
committerVladimír Čunát <v@cunat.cz>2019-08-25 14:54:46 +0200
commitbc238b8df55bad9d8a436e120615cc5cfbbb78dc (patch)
tree8b23bc16c132015e1c5c5f49297825ed50f4a254
parente19b17cc147d58fc8e7c2ba16ffb161ec9c153fa (diff)
downloadnixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar.gz
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar.bz2
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar.lz
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar.xz
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.tar.zst
nixlib-bc238b8df55bad9d8a436e120615cc5cfbbb78dc.zip
firefoxPackages: fix builds based on ESR 60
Attributes: firefox-esr-60, tor-browser(-8-5), icecat
Thanks to Symphorien: #67426
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index f464972a9df2..e6f143c97629 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -314,6 +314,9 @@ stdenv.mkDerivation rec {
   ]
   ++ extraMakeFlags;
 
+  RUSTFLAGS = if (lib.versionAtLeast ffversion "67"/*somewhere betwween ESRs*/)
+    then null else "--cap-lints warn";
+
   enableParallelBuilding = true;
   doCheck = false; # "--disable-tests" above