diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-05-26 14:53:13 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-05-26 14:53:13 +0000 |
commit | c228b1a957c31dfa89d52ea0aa31eca0b58ba41d (patch) | |
tree | 523bbf7aa5b5efd4163c9bed78a01bba326f9bf3 /pkgs/development/tools/build-managers | |
parent | b62acd088e0aaf5e5de80572412ff856873586f5 (diff) |
Ant/GCJ: Clean up.
svn path=/nixpkgs/trunk/; revision=21990
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r-- | pkgs/development/tools/build-managers/apache-ant/from-source.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/tools/build-managers/apache-ant/from-source.nix b/pkgs/development/tools/build-managers/apache-ant/from-source.nix index 2cf588ba377c8..240056df0288b 100644 --- a/pkgs/development/tools/build-managers/apache-ant/from-source.nix +++ b/pkgs/development/tools/build-managers/apache-ant/from-source.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, javac, jvm, junit }: +{ stdenv, fetchurl, gcj, junit }: let version = "1.7.1"; in @@ -15,7 +15,7 @@ stdenv.mkDerivation { patches = [ ./use-gcj.patch ]; - buildInputs = [ javac jvm junit ]; + buildInputs = [ gcj junit ]; configurePhase = '' mkdir -p "tool-aliases/bin" @@ -52,7 +52,7 @@ EOF mv -v "$out/lib/"*.jar "$out/lib/java" sed -i "$out/bin/ant" \ -e "s|^ANT_LIB=.*$|ANT_LIB=$out/lib/java|g ; - s|JAVACMD=java.*$|JAVACMD=$(type -P gij)|g ; + s|JAVACMD=java.*$|JAVACMD=${gcj}/lib/jvm/bin/java|g ; /^ant_exec_command/i export ANT_HOME=$out" ''; @@ -82,8 +82,9 @@ EOF homepage = http://ant.apache.org/; - license = "Apache-2.0"; + license = "APLv2"; maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = [ stdenv.lib.platforms.gnu ]; # arbitrary choice }; } |