From e5e8f1d707d3490b1c5a4ae35550a5afe556205a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 15 Jan 2023 09:13:34 +0100 Subject: [PATCH] firefox: fixup build on aarch64-linux It's the issue with old libgcc_s propagated via our glibc package; e.g. https://github.com/NixOS/nixpkgs/pull/209113 (cherry picked from commit cdf02835ebf93dae3d38f665ce3530106f59b7db) --- pkgs/applications/networking/browsers/firefox/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 341c1c198903e..89af3d397bec6 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -474,6 +474,8 @@ buildStdenv.mkDerivation ({ separateDebugInfo = enableDebugSymbols; enableParallelBuilding = true; + NIX_LDFLAGS = if (with stdenv; isAarch64 && isLinux) then [ "-lgcc" ] else null; + # tests were disabled in configureFlags doCheck = false;