summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox/wrapper.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-11-16 09:57:36 -0600
committerThomas Tuegel <ttuegel@mailbox.org>2017-11-16 09:57:36 -0600
commit09fd8618b4b77fcdfba80de6d47da741647816c9 (patch)
tree2577a4d995832ecaacddd029f0d650ffd6149705 /pkgs/applications/networking/browsers/firefox/wrapper.nix
parenta49086c19dfc2d632bad50d3d9fa0ffc77273f31 (diff)
downloadnixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar.gz
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar.bz2
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar.lz
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar.xz
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.tar.zst
nixpkgs-09fd8618b4b77fcdfba80de6d47da741647816c9.zip
firefox: add enableBrowserpass to support browserpass
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox/wrapper.nix')
-rw-r--r--pkgs/applications/networking/browsers/firefox/wrapper.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 7f9d735c163..4c3647bd448 100644
--- a/pkgs/applications/networking/browsers/firefox/wrapper.nix
+++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix
@@ -8,6 +8,7 @@
 , google_talk_plugin, fribid, gnome3/*.gnome_shell*/
 , esteidfirefoxplugin
 , vlc_npapi
+, browserpass
 , libudev
 , kerberos
 }:
@@ -56,6 +57,7 @@ let
         );
       nativeMessagingHosts =
         ([ ]
+          ++ lib.optional (cfg.enableBrowserpass or false) browserpass
           ++ extraNativeMessagingHosts
         );
       libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])