summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/common.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 933740bef76..883c04a5a67 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -54,6 +54,7 @@
 , glib
 , gnum4
 , gtk3
+, icu
 , icu72
 , libGL
 , libGLU
@@ -440,9 +441,6 @@ buildStdenv.mkDerivation ({
     freetype
     glib
     gtk3
-    # 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
@@ -470,6 +468,9 @@ buildStdenv.mkDerivation ({
     zip
     zlib
   ]
+  # icu73 changed how it follows symlinks which breaks in the firefox sandbox
+  # https://bugzilla.mozilla.org/show_bug.cgi?id=1839287
+  ++ [ (if (lib.versionAtLeast version "115") then icu else icu72) ]
   ++ [ (if (lib.versionAtLeast version "103") then nss_latest else nss_esr) ]
   ++ lib.optional  alsaSupport alsa-lib
   ++ lib.optional  jackSupport libjack2