mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
passthru.home in openjdk8, similar to other jdks
This commit is contained in:
parent
4932cae34f
commit
24ddfc7c38
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user