firefoxWrapper: Fail if deprecated enableVLC option exists

This commit is contained in:
Sarah Brofeldt 2018-08-12 13:32:38 +02:00
parent b5b11e9da4
commit feee2235b5

View file

@ -43,6 +43,9 @@ let
plugins =
assert !(jre && icedtea);
if builtins.hasAttr "enableVLC" cfg
then throw "The option \"${browserName}.enableVLC\" has been removed since Firefox no longer supports npapi plugins"
else
([ ]
++ lib.optional enableAdobeFlash flashplayer
++ lib.optional (cfg.enableDjvu or false) (djview4)