mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
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