baec8f5b38
contains arbitrary information about a package, like this: meta = { homepage = "http://gcc.gnu.org/"; license = "GPL/LGPL"; description = "GNU Compiler Collection, 4.0.x"; }; The "meta" attribute is not passed to the actual derivation operation, so it's not a dependency --- changes to "meta" attributes don't trigger a recompilation. Now we have to standardise some useful attributes ;-) svn path=/nixpkgs/branches/usability/; revision=5024
19 lines
445 B
Nix
19 lines
445 B
Nix
{stdenv, firefox, plugins}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = firefox.name;
|
|
|
|
builder = ./builder.sh;
|
|
makeWrapper = ../../../../build-support/make-wrapper/make-wrapper.sh;
|
|
|
|
inherit firefox;
|
|
|
|
# Let each plugin tell us (through its `mozillaPlugin') attribute
|
|
# where to find the plugin in its tree.
|
|
plugins = map (x: x ~ x.mozillaPlugin) plugins;
|
|
|
|
meta = {
|
|
description = firefox.meta.description + " (with various plugins)";
|
|
};
|
|
}
|