From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56083) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igbgJ-0003pI-EC for guix-patches@gnu.org; Sun, 15 Dec 2019 16:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igbgI-000565-Gb for guix-patches@gnu.org; Sun, 15 Dec 2019 16:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igbgI-00055t-DY for guix-patches@gnu.org; Sun, 15 Dec 2019 16:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igbgI-0001OL-CA for guix-patches@gnu.org; Sun, 15 Dec 2019 16:44:02 -0500 Subject: [bug#38546] [PATCH 1/3] gnu: julia: Set to JULIA_LOAD_PATH and JULIA_DEPOT_PATH variables. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v9qpvbyr.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87tv69vbt6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Sun, 15 Dec 2019 22:43:16 +0100 In-Reply-To: <87tv69vbt6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> ("=?UTF-8?Q?Nicol=C3=B2?= Balzarotti"'s message of "Thu, 10 Oct 2019 17:49:15 +0200") Message-ID: <87bls9s1sb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Cc: Guix Patches <38546@debbugs.gnu.org> Nicol=C3=B2 Balzarotti skribis: > gnu/packages/julia.scm | 146 +++++++++++++++++++++-------------------- > 1 file changed, 75 insertions(+), 71 deletions(-) Please make sure to add a commit log listing all the entities changed. Apparently there was some reindentation that makes this patch looks big and makes the actual changes harder to spot. Could you resubmit it without the reindentation? > (native-search-paths > (list (search-path-specification > (variable "JULIA_LOAD_PATH") > - (files (list "share/julia/packages/"))))) > + (files (list "share/julia/packages/" > + "share/julia/stdlib/v1.1/"))) Why is this extra entry needed? Doesn=E2=80=99t Julia find its own standard library by default, even if JULIA_LOAD_PATH is unset? > + (search-path-specification > + (variable "JULIA_DEPOT_PATH") > + (files (list "share/julia/"))))) What=E2=80=99s JULIA_DEPOT_PATH supposed to point to again? =E2=80=98share= /julia=E2=80=99 seems to be very much a catch-all thing. :-) Thanks, Ludo=E2=80=99.