firefoxWrapper: Fail if deprecated enableVLC option exists
This commit is contained in:
parent
b5b11e9da4
commit
feee2235b5
|
@ -43,6 +43,9 @@ let
|
||||||
|
|
||||||
plugins =
|
plugins =
|
||||||
assert !(jre && icedtea);
|
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 enableAdobeFlash flashplayer
|
||||||
++ lib.optional (cfg.enableDjvu or false) (djview4)
|
++ lib.optional (cfg.enableDjvu or false) (djview4)
|
||||||
|
|
Loading…
Reference in New Issue