mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
* Wrapped Firefox: make it evaluate on x86_64-linux.
svn path=/nixpkgs/trunk/; revision=8707
This commit is contained in:
parent
d4f3016e10
commit
ffa7b32970
@ -1,5 +1,7 @@
|
||||
{stdenv, fetchurl, zlib, alsaLib}:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
name = "flashplayer-9.0.31.0";
|
||||
|
||||
|
@ -165,6 +165,8 @@ rec {
|
||||
lowPrio = drv: drv // {
|
||||
meta = (if drv ? meta then drv.meta else {}) // {priority = "10";};
|
||||
};
|
||||
|
||||
optional = cond: elem: if cond then [elem] else [];
|
||||
|
||||
|
||||
### STANDARD ENVIRONMENT
|
||||
@ -2959,11 +2961,11 @@ rec {
|
||||
inherit stdenv firefox;
|
||||
plugins = [
|
||||
MPlayerPlugin
|
||||
flashplayer
|
||||
]
|
||||
++ optional (system == "i686-linux") flashplayer
|
||||
# RealPlayer is disabled by default for legal reasons.
|
||||
++ (if getConfig ["firefox" "enableRealPlayer"] false then [RealPlayer] else [])
|
||||
++ (if supportsJDK then [jrePlugin] else []);
|
||||
++ optional (system != "i686-linux" && getConfig ["firefox" "enableRealPlayer"] false) RealPlayer
|
||||
++ optional (supportsJDK && jrePlugin ? mozillaPlugin) jrePlugin;
|
||||
};
|
||||
|
||||
xara = import ../applications/graphics/xara {
|
||||
|
Loading…
Reference in New Issue
Block a user