mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
openjdk8: add setJavaClassPath
-hook to jdk as well
This hook got removed from JDK[1], however without this hook, the classpath in a Java-build isn't created anymore which caused several[2][3] broken packages. [1] https://github.com/NixOS/nixpkgs/pull/65247/files#r324459267 [2] https://hydra.nixos.org/build/100896633 [3] https://hydra.nixos.org/build/100895668 ZHF #68361
This commit is contained in:
parent
a7f002ac41
commit
19f88062a6
@ -219,6 +219,8 @@ let
|
||||
ln -s $jre/lib/openjdk/jre $out/jre
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ setJavaClassPath ];
|
||||
|
||||
preFixup = ''
|
||||
# Propagate the setJavaClassPath setup hook from the JRE so that
|
||||
# any package that depends on the JRE has $CLASSPATH set up
|
||||
|
Loading…
Reference in New Issue
Block a user