passthru.home in openjdk8, similar to other jdks

This commit is contained in:
Herwig Hochleitner 2015-03-26 19:02:11 +01:00
parent 4932cae34f
commit 24ddfc7c38

View File

@ -37,8 +37,7 @@ let
url = "${baseurl}/nashorn/archive/${repover}.tar.gz";
sha256 = "1np8hkg2fmj5s6ipd1vb8x0z6xy00kbi2ipqca9pxzib58caj6b2";
};
in
stdenv.mkDerivation {
openjdk8 = stdenv.mkDerivation {
name = "openjdk-8u${update}b${build}";
srcs = [jdk8 langtools hotspot corba jdk jaxws jaxp nashorn];
outputs = [ "out" "jre" ];
@ -138,5 +137,6 @@ stdenv.mkDerivation {
maintainers = [ stdenv.lib.maintainers.cocreature ];
platforms = stdenv.lib.platforms.linux;
};
}
passthru.home = "${openjdk8}/lib/openjdk";
}; in openjdk8