mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Changing the 'enableAdobeFlash' firefox/icecat wrapper option, so its negative
value does not mean "install gnash". I added an enableGnash check instead. I've kept the default of Adobe Flash. svn path=/nixpkgs/trunk/; revision=24428
This commit is contained in:
parent
3ae506c409
commit
327a2eae30
|
@ -6339,10 +6339,13 @@ let
|
|||
wrapFirefox = browser: browserName: nameSuffix: import ../applications/networking/browsers/firefox/wrapper.nix {
|
||||
inherit stdenv nameSuffix makeWrapper makeDesktopItem browser browserName;
|
||||
plugins =
|
||||
let enableAdobeFlash = getConfig [ browserName "enableAdobeFlash" ] true;
|
||||
let
|
||||
enableAdobeFlash = getConfig [ browserName "enableAdobeFlash" ] true;
|
||||
enableGnash = getConfig [ browserName "enableGnash" ] false;
|
||||
in
|
||||
assert !(enableGnash && enableAdobeFlash);
|
||||
([]
|
||||
++ lib.optional (!enableAdobeFlash) gnash
|
||||
++ lib.optional enableGnash gnash
|
||||
++ lib.optional enableAdobeFlash flashplayer
|
||||
# RealPlayer is disabled by default for legal reasons.
|
||||
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
|
||||
|
|
Loading…
Reference in a new issue