firefox: do not define gtk_modules in darwin

This is causing an unnecessary dependency in libcanberra-gtk3 being
added to the wrapper.

Right now gtk3 derivation is broken so firefox is broken in
aarch64-darwin, but even if gtk3 was working having an unnecessary
dependency being added is a waste of storage.

This commit fixes it.
This commit is contained in:
Thiago Kenji Okada
2025-10-23 11:04:44 +01:00
parent fedf897f2a
commit bbf1c76925
@@ -116,7 +116,7 @@ let
++ lib.optional smartcardSupport opensc
++ pkcs11Modules
++ lib.optionals (!isDarwin) gtk_modules;
gtk_modules = [ libcanberra-gtk3 ];
gtk_modules = lib.optionals (!isDarwin) [ libcanberra-gtk3 ];
# Darwin does not rename bundled binaries
launcherName = "${applicationName}${lib.optionalString (!isDarwin) nameSuffix}";