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