about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/common.nix
diff options
context:
space:
mode:
authorKirill Radzikhovskyy <kirillrdy@gmail.com>2023-06-20 15:46:12 +1000
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-06-20 16:08:13 +0200
commit549e40bff0d1c498ad033c82bb59dcbee78fdbe5 (patch)
tree9fa4e12b53fc11119622c21932664930975e29ba /pkgs/applications/networking/browsers/firefox/common.nix
parent2cb68f43835a014e7bc7a008fcc9c1910a4eb1a2 (diff)
buildMozillaMach: pin icu to 72
Fixes an issue where the timezone would not be correctly read, due to a
behavior change in icu 73, where the path to the timezone is now read
using realpath instead of readlink.

This leads lookups for /etc/localtime into the nix store, instead of
into /etc/zoneinfo, which gets blocked by sandboxing.

Reported upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=1839287.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index b58f96d6e6fcd..933740bef7680 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -54,7 +54,7 @@
 , glib
 , gnum4
 , gtk3
-, icu
+, icu72
 , libGL
 , libGLU
 , libevent
@@ -440,7 +440,9 @@ buildStdenv.mkDerivation ({
     freetype
     glib
     gtk3
-    icu
+    # icu73 changed how it follows symlinks which breaks in the firefox sandbox
+    # https://bugzilla.mozilla.org/show_bug.cgi?id=1839287
+    icu72
     libffi
     libGL
     libGLU