guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: icedtea-8: Install the nss.cfg file to JRE.


From: ???
Subject: 01/01: gnu: icedtea-8: Install the nss.cfg file to JRE.
Date: Mon, 11 Sep 2017 07:10:45 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 6bda496286149911bb0ba460c35a144ef4109cc0
Author: 宋文武 <address@hidden>
Date:   Fri Sep 1 22:14:55 2017 +0800

    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.
---
 gnu/packages/java.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f361697..806f13a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1628,6 +1628,10 @@ IcedTea build harness.")
                    (copy-recursively "openjdk.build/docs" doc)
                    (copy-recursively "openjdk.build/images/j2re-image" jre)
                    (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)))))))
       (native-inputs
        `(("jdk" ,icedtea-7 "jdk")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]