gnu: icedtea-8: Install the nss.cfg file to JRE.
Before this, accessing HTTPS will throw an exception about 'nss.cfg' could not be found. * gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into JRE in the install phase.master
parent
130c3bc894
commit
6bda496286
|
@ -1628,6 +1628,10 @@ IcedTea build harness.")
|
||||||
(copy-recursively "openjdk.build/docs" doc)
|
(copy-recursively "openjdk.build/docs" doc)
|
||||||
(copy-recursively "openjdk.build/images/j2re-image" jre)
|
(copy-recursively "openjdk.build/images/j2re-image" jre)
|
||||||
(copy-recursively "openjdk.build/images/j2sdk-image" jdk)
|
(copy-recursively "openjdk.build/images/j2sdk-image" jdk)
|
||||||
|
;; Install the nss.cfg file to JRE to enable SSL/TLS
|
||||||
|
;; support via NSS.
|
||||||
|
(copy-file (string-append jdk "/jre/lib/security/nss.cfg")
|
||||||
|
(string-append jre "/lib/security/nss.cfg"))
|
||||||
#t)))))))
|
#t)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("jdk" ,icedtea-7 "jdk")
|
`(("jdk" ,icedtea-7 "jdk")
|
||||||
|
|
Reference in New Issue