firefox: don't include xdg-open in wrapped closure on darwin

xdg-open is not used by MacOS to open URIs. This reduces the closure
size from ~2.5G to ~800M on Darwin.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka
2025-04-04 18:24:49 -04:00
parent ec3113e0d2
commit 489f834fcf
@@ -330,7 +330,7 @@ let
"1"
]
++ lib.optionals (!xdg-utils.meta.broken) [
++ lib.optionals (!xdg-utils.meta.broken && !isDarwin) [
# make xdg-open overridable at runtime
"--suffix"
"PATH"