summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-07-17 17:20:07 +0000
committerLudovic Courtès <ludo@gnu.org>2009-07-17 17:20:07 +0000
commit1dfef7863364a19b31f546a2a9ff338a11a16beb (patch)
tree9e001dddd20ab88a76f70dc44e196f94a944ed37 /pkgs
parentdeb63071d782351ffa3030e18dce67687e9f9988 (diff)
downloadnixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar.gz
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar.bz2
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar.lz
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar.xz
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.tar.zst
nixpkgs-1dfef7863364a19b31f546a2a9ff338a11a16beb.zip
GCJ 4.4: Provide `ecj.jar' (Eclipse Java Compiler).
svn path=/nixpkgs/trunk/; revision=16416
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/gcc-4.4/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc-4.4/default.nix b/pkgs/development/compilers/gcc-4.4/default.nix
index 57571b97c16..7d09cc9e298 100644
--- a/pkgs/development/compilers/gcc-4.4/default.nix
+++ b/pkgs/development/compilers/gcc-4.4/default.nix
@@ -45,8 +45,18 @@ stdenv.mkDerivation ({
     optional langJava (fetchurl {
       url = "mirror://gcc/releases/gcc-${version}/gcc-java-${version}.tar.bz2";
       sha256 = "0i60llrllgm4sbplw2rc9b0gi0mxr88la07a72mvlbblzpxn22hb";
+    }) ++
+
+    optional langJava (fetchurl {
+      # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
+      # `configure' time.
+
+      # XXX: Eventually we might want to take it from upstream.
+      url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
+      name = "ecj.jar";
+      sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
     });
-    
+
   patches =
     [./pass-cxxcpp.patch]
     ++ optional noSysDirs ./no-sys-dirs.patch