From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +ATgNm85KWKqDAEAgWs5BA (envelope-from ) for ; Thu, 10 Mar 2022 00:34:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MJeBL285KWJ9PAAAG6o9tA (envelope-from ) for ; Thu, 10 Mar 2022 00:34:07 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 35E9B1CAC8 for ; Thu, 10 Mar 2022 00:34:07 +0100 (CET) Received: from localhost ([::1]:60664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nS5ok-0006ly-2b for larch@yhetil.org; Wed, 09 Mar 2022 18:34:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nS5og-0006ln-AJ for guix-patches@gnu.org; Wed, 09 Mar 2022 18:34:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nS5og-0002ok-0z for guix-patches@gnu.org; Wed, 09 Mar 2022 18:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nS5of-000744-U8 for guix-patches@gnu.org; Wed, 09 Mar 2022 18:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51319] [PATCH 0/2] Better interoperability between guix and Julia built-in package manager Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Mar 2022 23:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51319 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: efraim@flashner.co.il, zimoun Cc: 51319@debbugs.gnu.org, Jean-Baptiste Volatier Received: via spool by 51319-submit@debbugs.gnu.org id=B51319.164686881527115 (code B ref 51319); Wed, 09 Mar 2022 23:34:01 +0000 Received: (at 51319) by debbugs.gnu.org; 9 Mar 2022 23:33:35 +0000 Received: from localhost ([127.0.0.1]:32835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nS5oF-00073G-51 for submit@debbugs.gnu.org; Wed, 09 Mar 2022 18:33:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nS5oC-000732-Hd for 51319@debbugs.gnu.org; Wed, 09 Mar 2022 18:33:33 -0500 Received: from [2001:470:142:3::e] (port=46380 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nS5o6-0002lg-Vi; Wed, 09 Mar 2022 18:33:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=q1f5d3T2+ShCFzCUKgA8WYTAGLPdHwfDcC7BcaLA8ig=; b=IwMlZ/TtG8rSOo5IfinP w2e1GZfyy8ksqMJrRXK7OMzm2WvVP2b8Yd40O4Tv+F/chb5S+u6xCr2e/7fG8sjx9OB16VSSTWLfT FhpSAxojUZ8P9a6/Zdxp//wz/5aBys0CdyHfY8X50iuFJc1uq70r0T9lZjT9rUe+iyo4DOUKq5VR4 XoiVqd2iGpriVyw1l6qae7CjAmR3bFWCoI7NbTRR2aJ5jxFTXCNL7CvLYw5LhGT4aeUBYOfaFLg+d /Vh4nLChqjqH2IRGqJlr4aeRyFQ1Y61sBuCNvC+rTYXh4HwhyrUKRFKx5CeSRwGaYpjoINd+hP8z3 9JA6EKxfU+k/Lg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64782 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nS5o6-0008CV-IF; Wed, 09 Mar 2022 18:33:26 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211021130952.14696-1-jbv@pm.me> <20211021130952.14696-2-jbv@pm.me> <20211112142328.28400-1-jbv@pm.me> Date: Thu, 10 Mar 2022 00:33:24 +0100 In-Reply-To: <20211112142328.28400-1-jbv@pm.me> (Jean-Baptiste Volatier's message of "Fri, 12 Nov 2021 14:23:46 +0000") Message-ID: <87sfrq1z23.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646868847; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q1f5d3T2+ShCFzCUKgA8WYTAGLPdHwfDcC7BcaLA8ig=; b=dnElBJ+z/ZH2NW8vxsq5AC/BSxGLIFC2U1PQMQALr6bAFvq1VkDe4BGIZNcKlv3D8xMfdP V3o1ZhKsFBmbjaq4KOv74WUb2Ys/md5UFybP9SamajOtC7oIEiD0tmTpbg3rlR8WxZ1LTx /kE8Ctdz4m6vO+muGiqCqCOkonlPyvmcFeSz+oWb1SQpxBHIxm9cNng2it/VdCb08gHW+F lql7hMSEdQaJbW7Y2hlnPI0PK8ryKin1lfjeWUw+g0QOXEX+mBhfzLq9/HjkJJexykiLbh gMtcu7YeNwEopY8G7QIsnvSou6DLXkaQK629liXo1oppwCLbsrcJsLGO9Vt9Ng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646868847; a=rsa-sha256; cv=none; b=t3m5LLwYMS0Wpqy00+ZivOYrQVAgP5PL8nBBhsaeMVa9xiBooVjDrXMuWPjmxTklD+zQQW GMklJGnwRru+s8C3YFQWSnmmYCpiokpyvhnaNGUEnFerPqedNzhARG5JUQSN32I8J/hXnc 3MKiIzFgyCzsYIhrsciRYJYxgPYXEyjftzNCJAJS9xZ1ERMlVRGAeq9OHIkqT74ZQ51KMf v1QgJ+jQwz3d1yCOShy/F7q9BflJlBBe0aIOX4iQc4HxjR8n1c4f+yl2OJokE+CY0PII9U DV5KcR/pqza/Ukl7IickiHp1B0uCvoAYJ9jSg4wWslmRgOh/L0sQ0laYD0MuHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="IwMlZ/Tt"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="IwMlZ/Tt"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 35E9B1CAC8 X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4A0cLMNhmPu9 Hello! Efraim, zimoun: I just stumbled upon this patch series by Jean-Baptiste, which seems to have fallen through the cracks: https://issues.guix.gnu.org/51319 Could you take a look and apply them if appropriate? Thanks in advance! Ludo=E2=80=99. Jean-Baptiste Volatier skribis: > On Monday, November 8th, 2021 at 8:30 AM, Efraim Flashner wrote: > >> Thanks for the patch series! I'm really looking forward to this working >> out in Guix, being able to use Julia to download as-yet unpackaged julia >> packages will make using Julia much easier. > > Me too! Then we can concentrate first on the JLL packages since > source only packages are likely to work as is. > > I forgot to mention that for this patch to work, the link-depot > phase needs to be called before the source is modified. > So in this new version, I have modified all packages that where > modifiying the source after unpack to do it after link-depot instead. > >> I had to wrap this with '(when (file-exists? "Project.toml")' since we >> do have some packages that pre-date the use of Project.toml. Building >> julia-bufferedstreams will test both a package with and without a >> Project.toml. > > I added a julia-package-uuid keyword argument like julia-package-name > for packages without a Project.toml. I also modified the packages > that needed it. > >> Here you have a '~a' to use uuid but package-dir isn't used anywhere. Is >> package-dir not needed or is there a missing substitution? > > This was some left over from a previous iteration. > > > Jean-Baptiste Volatier (2): > build-system/julia: Enable Julia Pkg to find installed packages > gnu: Add julia-sundials-jull > > gnu/packages/julia-jll.scm | 176 ++++++++++++++++++------------ > gnu/packages/julia-xyz.scm | 69 ++++++------ > gnu/packages/julia.scm | 2 +- > gnu/packages/maths.scm | 24 ++++ > guix/build-system/julia.scm | 5 +- > guix/build/julia-build-system.scm | 49 ++++++++- > 6 files changed, 217 insertions(+), 108 deletions(-) > > > base-commit: 6e67c701a88064babd1aef93b58890aed2dcd0aa > -- > 2.33.1