firefox: clean up optionals

Change `lib.optionals a [ b ]` to `lib.optional a b`.
This commit is contained in:
S. Nordin Abouzahra 2020-12-09 20:36:16 -05:00
parent 96c34702e9
commit 80e863c52c

View File

@ -174,9 +174,9 @@ buildStdenv.mkDerivation ({
++ lib.optional gtk3Support gtk3
++ lib.optional gssSupport kerberos
++ lib.optional ltoSupport llvmPackages.libunwind
++ lib.optionals waylandSupport [ libxkbcommon ]
++ lib.optionals pipewireSupport [ pipewire ]
++ lib.optionals (lib.versionAtLeast ffversion "82") [ gnum4 ]
++ lib.optional waylandSupport libxkbcommon
++ lib.optional pipewireSupport pipewire
++ lib.optional (lib.versionAtLeast ffversion "82") gnum4
++ lib.optionals buildStdenv.isDarwin [ CoreMedia ExceptionHandling Kerberos
AVFoundation MediaToolbox CoreLocation
Foundation libobjc AddressBook cups ];