From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: After installing Java, what should I set JAVA_HOME to? Date: Thu, 01 Dec 2016 14:06:39 +0100 Message-ID: <87shq7u7c0.fsf@gnu.org> References: <4e5ee794-1d1a-c433-d72f-7eb4e113a60b@edno.moe> <87mvggxugq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCR4Z-0000vc-58 for help-guix@gnu.org; Thu, 01 Dec 2016 08:06:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCR4U-0001G2-Du for help-guix@gnu.org; Thu, 01 Dec 2016 08:06:47 -0500 In-Reply-To: <87mvggxugq.fsf@gmail.com> (Chris Marusich's message of "Wed, 30 Nov 2016 18:18:45 -0800") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix@gnu.org Chris Marusich skribis: > Radoslav Petrov writes: > >> About a proper fix: IMO iced3 JDK Guix definition needs to process >> "java.security" file for the SunPKCS11 provider to override the >> JAVA_HOME definition with the file in the current version/dir/instance >> of the Guix package (I'm not sure for the correct term). But this have >> to be done on each update/upgrade of NSS package. So I'm not so sure >> about the proper way to fix this packaging problem. > > This sounds right to me. If I'm hearing you correctly, there is a > configuration file in the output of the icedtea package which needs to > be updated whenever the nss package is updated. I believe the correct > way to accomplish that is to use "static composition" or "late static > composition" [1]. I'm sure a convenient mechanism for this exists in > Guix, but since I haven't done it myself, I'm not sure of the details. > > [1] See section 7.1.1 in Eelco Dolstra's thesis: > http://nixos.org/%7Eeelco/pubs/phd-thesis.pdf =E2=80=98wrap-program=E2=80=99 in (guix build utils) roughly correspond to = what=E2=80=99s described as =E2=80=9Clate static composition=E2=80=9D in Eelco=E2=80=99s t= hesis. Ludo=E2=80=99.