nixpkgs-suyu/pkgs/development/compilers/jdk/default-1.4.nix
Eelco Dolstra 0005a37b8d * In the JDK packages, don't return false if the platform is
unsupported.  This gives a type error ("value is a boolean while 
  an attribute set was expected").

svn path=/nixpkgs/trunk/; revision=8576
2007-04-16 10:07:06 +00:00

9 lines
210 B
Nix

{stdenv, fetchurl}:
if stdenv.system == "i686-linux"
then
(import ./j2sdk-1.4.x-sun-linux.nix) {
inherit stdenv fetchurl;
}
else
abort "the Java 2 SDK is not supported on this platform"