mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
oraclejdk8: Fix installation of JCE
Oracle changed the path of the files. Previous versions looked like: $ jar tf UnlimitedJCEPolicyJDK7.zip UnlimitedJCEPolicy/ UnlimitedJCEPolicy/US_export_policy.jar UnlimitedJCEPolicy/local_policy.jar UnlimitedJCEPolicy/README.txt The new version looks like: $ jar tf jce_policy-8.zip UnlimitedJCEPolicyJDK8/ UnlimitedJCEPolicyJDK8/local_policy.jar UnlimitedJCEPolicyJDK8/README.txt UnlimitedJCEPolicyJDK8/US_export_policy.jar A better solution is probably just to trim the directory off completely.
This commit is contained in:
parent
4a8e06f1f0
commit
2db64534f1
@ -133,7 +133,7 @@ let result = stdenv.mkDerivation rec {
|
||||
|
||||
if test -n "${jce}"; then
|
||||
unzip ${jce}
|
||||
cp -v UnlimitedJCEPolicy/*.jar $jrePath/lib/security
|
||||
cp -v UnlimitedJCEPolicy*/*.jar $jrePath/lib/security
|
||||
fi
|
||||
|
||||
rpath=$rpath''${rpath:+:}$jrePath/lib/${architecture}/jli
|
||||
|
Loading…
Reference in New Issue
Block a user