Commit bbf1c769 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada
Browse files

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.
parent fedf897f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}";