given as a nested attribute set isomorphic to all-packages.nix,
where the value for each attribute is a list of platforms on which
to build the package. For instance,
{
wine = ["i686-linux"];
xorg = {
libX11 = ["i686-linux" "x86_64-linux"];
};
}
says that the "wine" attribute in all-packages.nix should be built
on "i686-linux" only, while the "xorg.libX11" attribute should be
built on "i686-linux" and "x86_64-linux".
There are some aliases for common platform groups (currently "all"
for all supported platforms, "linux" for all supported Linux
platforms).
svn path=/nixpkgs/trunk/; revision=14496
Most importantly, this change required updating the ANTLR 2.x expression to
install the Python run-time library. While we're at it, we're building the
run-time library for C++ and Java, too. There is still work to be done: the
stringtemplate library doesn't find antlr.py without help yet.
svn path=/nixpkgs/trunk/; revision=14489
"function", which isn't very descriptive ;-)
Also, the argument to "override" can be either a function (that
takes the old arguments and returns the overriding arguments), or a
plain attribute set that contains the overriding arguments.
E.g. you can say
nixUnstable.override { supportOldDBs = false; }
and
nixUnstable.override (oldArgs: { name = oldArgs.name + "-my-version"; })
svn path=/nixpkgs/trunk/; revision=14468
applyAndFun has a bug resulting in the same arg beeing added more than
once when using a concatenating merge function for the attr set.
I've tried giving the function a name "overridableDelayableArgs" which
resembles its usage much more.
important refactoring:
applyAndFun had .fun and .funMerge only when passing the merge
function lib.mergeOrApply
composableDerivation {
initial = {
...
};
}
to
overridableDelayableArgs has always .replace and .merge
composableDerivation {} {
...
}
svn path=/nixpkgs/trunk/; revision=14428
I haven't tried the builder for i686, but I think it should work. The fix should be easy in any cas.
I don't think I've written pretty nix code, so I'm looking forward for revision.
svn path=/nixpkgs/trunk/; revision=14324
Some of these should be longDescriptions, but most others just
shouldn't contain newlines. E.g. write
description = "Bla";
and not
description = ''
Bla
'';
This pollutes "nix-env -qa --description" output.
svn path=/nixpkgs/trunk/; revision=14310