2007-11-24 10:49:52 +00:00
|
|
|
args: with args;
|
2004-10-17 13:28:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-04-26 13:02:30 +00:00
|
|
|
name = firefox.name + "-with-plugins";
|
2004-10-17 13:28:28 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2005-02-16 11:13:18 +00:00
|
|
|
makeWrapper = ../../../../build-support/make-wrapper/make-wrapper.sh;
|
2004-10-17 13:28:28 +00:00
|
|
|
|
2005-02-16 11:24:40 +00:00
|
|
|
inherit firefox;
|
|
|
|
|
2007-11-24 10:49:52 +00:00
|
|
|
nameSuffix = (if args ? nameSuffix then args.nameSuffix else "");
|
|
|
|
|
2005-02-16 11:24:40 +00:00
|
|
|
# Let each plugin tell us (through its `mozillaPlugin') attribute
|
|
|
|
# where to find the plugin in its tree.
|
2006-08-09 15:05:30 +00:00
|
|
|
plugins = map (x: x + x.mozillaPlugin) plugins;
|
2006-03-10 16:12:46 +00:00
|
|
|
|
|
|
|
meta = {
|
2006-10-12 10:53:16 +00:00
|
|
|
description =
|
|
|
|
firefox.meta.description
|
|
|
|
+ " (with plugins: "
|
|
|
|
+ (let lib = import ../../../../lib;
|
|
|
|
in lib.concatStrings (lib.intersperse ", " (map (x: x.name) plugins)))
|
|
|
|
+ ")";
|
2006-03-10 16:12:46 +00:00
|
|
|
};
|
2004-10-17 13:28:28 +00:00
|
|
|
}
|