From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WDEBG0t5jmFnIQAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 15:25:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wDKSFkt5jmFFTQAAbx9fmQ (envelope-from ) for ; Fri, 12 Nov 2021 14:25:15 +0000 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 2BE3E35564 for ; Fri, 12 Nov 2021 15:25:15 +0100 (CET) Received: from localhost ([::1]:55672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlXUQ-000511-A0 for larch@yhetil.org; Fri, 12 Nov 2021 09:25:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlXUE-00050K-FG for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlXUE-00014T-6R for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlXUD-0001Mj-Un for guix-patches@gnu.org; Fri, 12 Nov 2021 09:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51319] [PATCH v2 0/2] Better interoperability between guix and Julia built-in package manager Resent-From: Jean-Baptiste Volatier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 14:25: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: 51319@debbugs.gnu.org, efraim@flashner.co.il Cc: Jean-Baptiste Volatier Received: via spool by 51319-submit@debbugs.gnu.org id=B51319.16367270455149 (code B ref 51319); Fri, 12 Nov 2021 14:25:01 +0000 Received: (at 51319) by debbugs.gnu.org; 12 Nov 2021 14:24:05 +0000 Received: from localhost ([127.0.0.1]:43771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlXTJ-0001Kz-3M for submit@debbugs.gnu.org; Fri, 12 Nov 2021 09:24:05 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:14178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlXTE-0001KP-UA for 51319@debbugs.gnu.org; Fri, 12 Nov 2021 09:24:03 -0500 Date: Fri, 12 Nov 2021 14:23:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1636727030; bh=4Q4k0jFMmQM6G0DL07g8bUe0blGUT20+oy2jaP5jAsg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=npw/xsaFQ/Ryeg72q7POdwzQ5Fm/X/TUG3Xlqy8w+EiM/Zprd0jl7NAvIXYR8xLd6 q13peigBzRng1SBCwlCWm9GXIy6j0QOSLHXbuCGmEsSvZPMXmzQwedCsTKdqTAPbLz MVUIfMjqr0yIbbl8cz3MT4fbNzkPnIllXWVlo2oynaUF4PBwyoJDQiOy5DR1JmuWjC gG7ewtRZ88Z+wMFF3RltiCaIyqlsRQxg8fSsl8t2g9KgijV+YiWzOGIrSP3ENdQiYr D6M2EICYujH1OmPseKRyVvfapvr9TP6xPg3aFiTlqWr4CYeBpvcK+bNfl8xECLw+6F 3BGE1j0cmNtIQ== Message-ID: <20211112142328.28400-1-jbv@pm.me> In-Reply-To: References: <20211021130952.14696-1-jbv@pm.me> <20211021130952.14696-2-jbv@pm.me> 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" Reply-to: Jean-Baptiste Volatier X-ACL-Warn: , Jean-Baptiste Volatier via Guix-patches From: Jean-Baptiste Volatier via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636727115; h=from:from:sender:sender:reply-to: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=4Q4k0jFMmQM6G0DL07g8bUe0blGUT20+oy2jaP5jAsg=; b=THSXd9Vz6mfzz2F9Ktwi/hhCIqap+i68gtW+7JaPrMIRyWt9c6V5TIDIPQI594bkgXpf9V f1236C8xbEPDXf4tGtyYc2yTHjz/9iewWM1idvKIKHGCeN1BQeydDexL5ihXEhqrvppWgC luLMg/4I3uzUrcci5yzeL+njLocd2ONaN8jGLgtfmf22TDx48Fi7Y58mBirzvutU9rIhKE cdXFoKRN+Qi2EbQN23HSJNVB/Z2Qn/+7CUrOQ+VxscJ60K0y1wtBsR60oJWpKEQTIKYcrz eyyZWFBdYHazTYhZiZK0ld576md/CR7whjdnsx96ShCjvvLsoxgyVNzZx+lvmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636727115; a=rsa-sha256; cv=none; b=WhCE5J3Q0TD+hOABPG/6Ngid02ZkJwPeVQNrWYhBT2//dsTozvT426zxeJI/S6QPbl2BSo HVNViDz+hA4qkvOxlJ5qoe4/zYi8qwXS8/cxJdQzocv/JU4EMLr9ANQK1hsHAdg4ACSgwS 2ha9/geZCG201tTl3yyotvY1my45LLjn+Gi3DWddemfUqlBq20JS/PfGBOJ/Rvc4b334f/ BHzMZor7AfnUy1UZaKKnd38S0dGgsbFE0VhifmDPHRymkelQlzW8pqu/tlF31Miklg5d+T nijDlG6eF0P33hO+jB8tuQyjQfkZCzxR5UgT9BFMAYq8N0j9UIWqjLuhSRpwtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b="npw/xsaF"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b="npw/xsaF"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2BE3E35564 X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: f/SULlc47bW2 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