firefoxWrapper: Fail if deprecated enableVLC option exists
This commit is contained in:
parent
b5b11e9da4
commit
feee2235b5
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue