Merge pull request #44934 from srhb/warn-on-firefox-vlc

firefoxWrapper: Fail if deprecated enableVLC option exists
This commit is contained in:
Silvan Mosberger 2018-08-13 19:35:07 +02:00 committed by GitHub
commit 46516d8722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)