wrapFirefox: remove old npapi plugin related options
This commit is contained in:
parent
5d7a9733a7
commit
19be17d54f
1 changed files with 2 additions and 19 deletions
|
@ -152,24 +152,7 @@ let
|
||||||
# #
|
# #
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
# TODO: remove this after the next release (21.03)
|
in stdenv.mkDerivation {
|
||||||
configPlugins = lib.filter (a: builtins.hasAttr a cfg) [
|
|
||||||
"enableAdobeFlash"
|
|
||||||
"enableAdobeReader"
|
|
||||||
"enableBluejeans"
|
|
||||||
"enableDjvu"
|
|
||||||
"enableFriBIDPlugin"
|
|
||||||
"enableGoogleTalkPlugin"
|
|
||||||
"enableMPlayer"
|
|
||||||
"enableVLC"
|
|
||||||
"icedtea"
|
|
||||||
"jre"
|
|
||||||
];
|
|
||||||
pluginsError =
|
|
||||||
"Your configuration mentions ${lib.concatMapStringsSep ", " (p: applicationName + "." + p) configPlugins}. All plugin related options have been removed, since Firefox from version 52 onwards no longer supports npapi plugins (see https://support.mozilla.org/en-US/kb/npapi-plugins).";
|
|
||||||
|
|
||||||
in if configPlugins != [] then throw pluginsError else
|
|
||||||
(stdenv.mkDerivation {
|
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
|
@ -369,5 +352,5 @@ let
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
priority = (browser.meta.priority or 0) - 1; # prefer wrapper over the package
|
priority = (browser.meta.priority or 0) - 1; # prefer wrapper over the package
|
||||||
};
|
};
|
||||||
});
|
};
|
||||||
in lib.makeOverridable wrapper
|
in lib.makeOverridable wrapper
|
||||||
|
|
Loading…
Reference in a new issue