Subject: bug#28315: closed (Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Sep 2017 11:13:01 +0000

Your bug report

#28315: [PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
28315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28315
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#28315] [PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.
From: [email-masked] (宋文武)
To: [email-masked] (Ludovic Courtès)
Cc: [email-masked]
Date: Mon, 11 Sep 2017 19:11:21 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

[email-masked] (Ludovic Courtès) writes:

>
> Oh I see.  Maybe just add a comment saying what this file is used for.

Done, thanks for the review!

Subject: [PATCH] gnu: icedtea-8: Install the nss.cfg file to JRE.
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Fri, 1 Sep 2017 22:14:55 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/java.scm (icedtea-8)[arguments]: Copy 'nss.cfg' from JDK into
JRE in the install phase.
---
 gnu/packages/java.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 947598c7b..fe67bb3f0 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1628,6 +1628,9 @@ 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.
+                   (copy-file (string-append jdk "/jre/lib/security/nss.cfg")
+                              (string-append jre "/lib/security/nss.cfg"))
                    #t)))))))
       (native-inputs
        `(("jdk" ,icedtea-7 "jdk")
-- 
2.13.3