From 549e40bff0d1c498ad033c82bb59dcbee78fdbe5 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Tue, 20 Jun 2023 15:46:12 +1000 Subject: 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. --- pkgs/applications/networking/browsers/firefox/common.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/networking/browsers/firefox/common.nix') 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 -- cgit 1.4.1