git.iko.soy/typeable/nixpkgs
on master help sign in
firefoxPackages: implement privacySupport option
commit2f35ab59603ceaf693040b1713efba294126d1d8 authorJan Malakhovski <oxij@oxij.org> dateMon 27 Mar 2017, 12:35 (10 years ago) parentf0f572f
1 file changed+13−2
pkgs/applications/networking/browsers/firefox/common.nix+13−2
pkgs/applications/networking/browsers/firefox/common.nix+13−2
@@ -13,19 +13,30 @@
1313
1414### optionals
1515
16+## optional libraries
17+
1618, alsaSupport ? true, alsaLib
1719, pulseaudioSupport ? true, libpulseaudio
1820, ffmpegSupport ? true, gstreamer, gst-plugins-base
1921, gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
2022
21−, webrtcSupport ? true
22−, geolocationSupport ? true
23+## privacy-related options
24+
25+, privacySupport ? false
26+
27+# WARNING: NEVER set any of the options below to `true` by default.
28+# Set to `privacySupport` or `false`.
29+
30+, webrtcSupport ? !privacySupport
31+, geolocationSupport ? !privacySupport
2332, googleAPISupport ? geolocationSupport
2433, crashreporterSupport ? false
2534
2635, safeBrowsingSupport ? false
2736, drmSupport ? false
2837
38+## other
39+
2940# If you want the resulting program to call itself "Firefox" instead
3041# of "Nightly" or whatever, enable this option. However, those
3142# binaries may not be distributed without permission from the