git.iko.soy/typeable/nixpkgs
on master help sign in
chromium: Disable "hotwording" by default.

There has been some recent news about that component extension on hacker news: https://news.ycombinator.com/item?id=9724409 Even though on our side it won't work, because we don't have NaCl enabled by default or even working (I honestly haven't tested if it even builds if enabled), we might get to the point where we can build with NaCl enabled. But until and even after that day, we want to have explicit control on whether this extension is enabled. Please also have a look at these two issues explaining the details (about component extensions and the hotwording extension in particular): https://crbug.com/491435 https://crbug.com/500922 Fixes issue #8358. Signed-off-by: aszlig <aszlig@redmoonstudios.org>

commitcadd675e7ae4dc1572b0536b8f036b0901dfacde authoraszlig <aszlig@redmoonstudios.org> dateFri 19 Jun 2015, 04:15 (11 years ago) parentc290595
2 files changed+6−3
pkgs/applications/networking/browsers/chromium/common.nix+2 pkgs/applications/networking/browsers/chromium/default.nix+4−3
pkgs/applications/networking/browsers/chromium/common.nix+2
@@ -21,6 +21,7 @@
2121# package customization
2222, enableSELinux ? false, libselinux ? null
2323, enableNaCl ? false
24+, enableHotwording ? false
2425, useOpenSSL ? false, nss ? null, openssl ? null
2526, gnomeSupport ? false, gnome ? null
2627, gnomeKeyringSupport ? false, libgnome_keyring3 ? null
@@ -158,6 +159,7 @@ let
158159 use_pulseaudio = pulseSupport;
159160 linux_link_pulseaudio = pulseSupport;
160161 disable_nacl = !enableNaCl;
162+ enable_hotwording = enableHotwording;
161163 use_openssl = useOpenSSL;
162164 selinux = enableSELinux;
163165 use_cups = cupsSupport;
pkgs/applications/networking/browsers/chromium/default.nix+4−3
@@ -4,6 +4,7 @@
44, channel ? "stable"
55, enableSELinux ? false
66, enableNaCl ? false
7+, enableHotwording ? false
78, useOpenSSL ? false
89, gnomeSupport ? false
910, gnomeKeyringSupport ? false
@@ -26,9 +27,9 @@ let
2627 };
2728
2829 mkChromiumDerivation = callPackage ./common.nix {
29− inherit enableSELinux enableNaCl useOpenSSL gnomeSupport
30− gnomeKeyringSupport proprietaryCodecs cupsSupport
31− pulseSupport hiDPISupport;
30+ inherit enableSELinux enableNaCl enableHotwording useOpenSSL gnomeSupport
31+ gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport
32+ hiDPISupport;
3233 };
3334
3435 browser = callPackage ./browser.nix { };