We create a weird symlink ($out/lib/src.zip) in the jdk package. I guess that symlink is only needed if $JAVA_HOME is set to $pkgs.jdk rather than the correct $pkgs.jdk.home or $pkgs.jdk/lib/openjdk.
grep JAVA_HOME -r shows many JAVA_HOME variables in the nixpkgs repository are incorrectly set to $pkgs.jdk. Should we change these variables to $pkgs.jdk.home and delete $out/lib/src.zip from jdk package?
We create a weird symlink (
$out/lib/src.zip
) in thejdk
package. I guess that symlink is only needed if$JAVA_HOME
is set to$pkgs.jdk
rather than the correct$pkgs.jdk.home
or$pkgs.jdk/lib/openjdk
.grep JAVA_HOME -r
shows manyJAVA_HOME
variables in the nixpkgs repository are incorrectly set to$pkgs.jdk
. Should we change these variables to$pkgs.jdk.home
and delete$out/lib/src.zip
fromjdk
package?References: