From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: After installing Java, what should I set JAVA_HOME to? Date: Wed, 30 Nov 2016 18:18:45 -0800 Message-ID: <87mvggxugq.fsf@gmail.com> References: <4e5ee794-1d1a-c433-d72f-7eb4e113a60b@edno.moe> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCGxY-0002LN-2l for help-guix@gnu.org; Wed, 30 Nov 2016 21:18:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCGxX-0004AL-3J for help-guix@gnu.org; Wed, 30 Nov 2016 21:18:52 -0500 Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]:33589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCGxW-0004AG-TE for help-guix@gnu.org; Wed, 30 Nov 2016 21:18:51 -0500 Received: by mail-pg0-x236.google.com with SMTP id 3so88812294pgd.0 for ; Wed, 30 Nov 2016 18:18:50 -0800 (PST) In-Reply-To: <4e5ee794-1d1a-c433-d72f-7eb4e113a60b@edno.moe> (Radoslav Petrov's message of "Sat, 12 Nov 2016 20:48:35 +0200") 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: Radoslav Petrov Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYP4iFAAoJEN1AmhXYIkadNpUQANUITElr6S5cWQ6ZX2ItI5H6 AeeBVion0xik0B06EyZo2JmFmrqDPIVmHDrA8cX8dZaRg9a+IH173oMcYpMcC7Yf WyHHGTgVEstFXEuGV1SnPRPyeR52jyvRJzqU7o0OuXMiHPbfDwl0aitsFSW5bjvD E5iVB3kDcY40+G2bo7TL86YTT+obtwI+2dH/Dd4Dmj+u4zzx2I6SENL8//b1Hx25 D1EdJJNRrOqAbx8UNUnpzYGPuqyDncdTvBXMrMC6JD62lnDWAf9rztA5jgZNbLQ9 FNLztQXGjWs1UE33/9OaO3xgCvgZU6OmtUSQyG6RBeTByc7+Ode/YUrr2GYsTU2c Aq3GjLV3EPfuZGDelURhkM1cq3DdTBJ8OYT7142cM08td0xWy91cj8ZsFrAc3nUS tuFh3n15UGu1YCkWUZnfEVTJlH8OnqAFg5W2rx+ypvF0xD1dWv+waDo/eSPixMp6 mfz5eWEX+Kr3/IrsdiYdOBfleK/pjLxxkBWFipANmmUhz9C9LqAbDBJbv0/QsLOA 92olqz36tg2KlBu7jBn2Wp0Z+ukKiWt0QJDJfbzFmFCy9e/kxPJYGSBb63OxjrBd C8m6/AfXTKA9/2/TfHGvoACs3Ioiil9XuHfLT+Kb9EuAbNDiVFqPL0glti+dCW2B 1kNIPMezXjLhrdFFBMH2 =UNi+ -----END PGP SIGNATURE----- --=-=-=--