diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 72bdbf5398e0..59652d36bad0 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -89,7 +89,7 @@ let # PCSC-Lite daemon (services.pcscd) also must be enabled for firefox to access smartcards smartcardSupport = cfg.smartcardSupport or false; - allNativeMessagingHosts = map lib.getBin nativeMessagingHosts; + allNativeMessagingHosts = map lib.getBin (lib.unique nativeMessagingHosts); libs = lib.optionals stdenv.hostPlatform.isLinux (