add makeOverridable to apacheAnt so that the jdk can be overwritten

svn path=/nixpkgs/trunk/; revision=16477
This commit is contained in:
Marc Weber 2009-07-27 16:05:34 +00:00
parent e932a5c6d6
commit f4ca975ce5

View File

@ -2309,7 +2309,7 @@ let
};
ant = apacheAnt;
apacheAnt = import ../development/tools/build-managers/apache-ant {
apacheAnt = makeOverridable (import ../development/tools/build-managers/apache-ant) {
inherit fetchurl stdenv jdk;
name = "ant-" + jdk.name;
};