From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Hu+Ao0Ng2FlBwAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 23:30:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wGkZOowNg2EWIQAA1q6Kng (envelope-from ) for ; Wed, 03 Nov 2021 22:30:36 +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 493EDF921 for ; Wed, 3 Nov 2021 23:30:36 +0100 (CET) Received: from localhost ([::1]:40560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miOmA-00016o-PY for larch@yhetil.org; Wed, 03 Nov 2021 18:30:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miOl6-00014o-8M for help-guix@gnu.org; Wed, 03 Nov 2021 18:29:28 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:36680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miOl3-0004Jl-GD for help-guix@gnu.org; Wed, 03 Nov 2021 18:29:27 -0400 Received: by mail-wr1-x42c.google.com with SMTP id s13so5799547wrb.3 for ; Wed, 03 Nov 2021 15:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=gl/RXraztBj9n9+HF7huxX1idFAuGkI9CW9PsGEnddU=; b=pCcyG20Z9Wa8kSiinZR1yaoC4mIVK2xP4yZMcM584yKlOgfHpN5Iy2Fq0T4lJtYc5S RypQHxJVUKdWXfo8tjTF5z9BZ+gNEeeGk1Q4TlV3c9b2fNJL/z0R/IZd0aPVrOyjHaLF A7MXp3rLaxd1U+dEuk/Us5dWeIjBepcpsToiQnphMxfuEygF6i6iYOq3lhGk5RUAz7si GVHEw0y0BGAKAVKLzmz4Dc3aZyzfCAsxwMPkyC2+F3S45Xwd2p0NV+/Hzb9xoprOCc0C 3bsNLMn5AFMKviXwTDm9iI7wBVsEsiPm4bT6DK0jpQWUEwRPK1xmDbJgd14MnIuSTy3L Zx7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=gl/RXraztBj9n9+HF7huxX1idFAuGkI9CW9PsGEnddU=; b=izUnx9O4aIP/2JsZEr+NpnSsBRBuZ6oZlV0z/m3pmXQZvybCBbOTQstTv/U7t/VuH1 v2iKHlUC1diWkMC/s7Bj6QfHAsHJb77+LCN4w6gvP/XyLcxqzkdpYOi5/byqN+ei8SKK yRtfhm5jNccNDCnka93jNNrwB8lxp8fqjXUCMqEj0Gv8Ou1EGe5rgDyIblDJX/hDfXmp OZOeekCWjIPiLoKhZfEGs7NNwK3eBWE2IVXRsmhj0ZRUHQPTh8inQ3RZs/WwAjGwVk34 yHHUqPSAVuWCN/yHkABh4Y5uY9biZLImfWqYeJm6kYf77NXpHSi4O/7aO1wLSSIc4vGG LWBg== X-Gm-Message-State: AOAM532G/vLFcdJBe8HIMX17ltwZ+MRPmO3nViq36+EvvneCCkrjpq2+ 9mOk7VYSNeOraZ0SNYgfeJc7ab9vKIOzrA== X-Google-Smtp-Source: ABdhPJzRGANHVHiqQagiFUmPRpbeFWy1Wa36AwHesZJIs+/raIz5uBABEEH2Mhg0/EYvLa5KGslJ1w== X-Received: by 2002:adf:9bdb:: with SMTP id e27mr58454511wrc.417.1635978563439; Wed, 03 Nov 2021 15:29:23 -0700 (PDT) Received: from gazelle.gmail.com (p579adf7a.dip0.t-ipconnect.de. [87.154.223.122]) by smtp.gmail.com with ESMTPSA id j19sm3137371wra.5.2021.11.03.15.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 15:29:22 -0700 (PDT) References: <878ry66ssq.fsf@gmail.com> User-agent: mu4e 1.6.6; emacs 28.0.60 From: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn To: zimoun Subject: Re: Using julia in guix Date: Wed, 03 Nov 2021 22:56:51 +0100 In-reply-to: Message-ID: <87tugsq3em.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=theo.tyburn@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635978636; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gl/RXraztBj9n9+HF7huxX1idFAuGkI9CW9PsGEnddU=; b=ReFf73h9MT5/C0wwcpOUUefRzhUyF4foULQSEhuYmWz0Cf8xYVoch9PEyEPfAXfX2TXUk/ UIWLzzr+YqWa1O0p8YG46y0Ptc412ABI7I+UR9uMiJxxVZ55WUUl0YcoJ3b6QvG/IbrDRE 8t5qlmMpViG2HjkmfG6+Kxjkr4iN4/FDuuT0j3GJvBx/WyBqxym8m/a+BJsqyObfHIDbVq DXEGhj8DucMjNpmzNEyc15dmDVlDTWR0e2ZMJNNAzoQR5WK3AM3RdfCnGlzSzTI0Xp+NIp 5FGWQT5/FKzJQMi8sAc5S5SLfa3YBAjla0kpCijEry+5eF+ZbzEBoAi4bMc6EQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635978636; a=rsa-sha256; cv=none; b=JWXEoqeopApZz2bO6IsPvQhODt47h6kiTfQrAMTFTS36GwImI0NHN8WIyTe5eryyn8wsfa IgZsGRrzXXWtVZBAFGN5G4u9KOi8iwJ/+bkKa808hp0IYiZxP1Y2bTy6cdJXOuSnuID3ya zjftsRtKdPkRWXWAoiFBYOynKjlKMp20dMsDuqqGVTbRUjPqJC5ZszyZQuHS9GOL6tRD8i 0h/MokRp7ievtPxTMxvQ4xudrq0lc/RgZPYun5t3G7Xy85lgc/l2TuICmkCT99pJSWI25G 4aYGOd958QCFDgZiDZrBDVg902LL7sj8lnOupN1ZIxo0Y2WaKIml7FpXguU2XQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pCcyG20Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pCcyG20Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 493EDF921 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: ju16zx1ql51w Hi, Thanks for the quick reply! > For now, it is either packages from Pkg.jl or either packages julia-* > from Guix. A patch [1] is still pending for being able to mix both. > Aside that packages from Pkg.jl do not always work out-of-the-box, > sadly. > > 1: Ok I see so either I use guix julia-* packages and then I need julia to ignore packages in ~/.julia and avoid using Pkg, or I use Pkg to install packages but it will break in some cases and also ignore already install julia packages from guix. What about using JLLs ? I have no precise understanding of how a jll work and how to use it but it seems they contain binaries and there are guix packages for them. For example julia-glfw-jll. Could I use GLFW in julia with this guix package installed ? >> I encountered two problems. The first with the package "GR" the >> second with the package "GLFW". I encountered these bugs while trying >> the packages "Plots" and the "GLMakie" backend of "Makie" > > IIUC, you installed all the packages using Pkg.jl, right? Yes until my first message I only installed stuff with Pkg. Now I tried the guix packages and they work fine. Especially the GR package works so I can at least plot things now, thanks ! (Makie with Cairo backend is also working from Pkg install though) > and I do not know if Pkg.jl works correctly with the current julia > from Guix. For instance, "guix shell julia -CN -- julia" then 'using > Pkg; Pkg.add("Plots")' reports failures. One is reference to build > directory "/tmp/guix-build-julia-1.6.2.drv-0", see [2]. > > 2: This seems nasty. For me however everything I tried to install and precompile with Pkg worked. So "pkg>add Plots" and "using Plots" works fine. Problems arise when I call a function, say "plot(1:3,1:3)". > For now, I do not have a solution and I do not have time to work on > it. Sorry. I would be happy if someone fixes the issue; probably > patch#51319 helps here. :-) I=E2=80=99ll try that out, it seems promising. Combining packages from Pkg = and guix while prioritizing guix packages and avoid reinstalling them seems like the right way to get the problematic packages under control for now (by that I mean creating a guix package for them). I never tested a patch though. How do I do this ? Is it on a branch of the git repo ? Kind regards, Th=C3=A9o