unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Théo Maxime Tyburn" <theo.tyburn@gmail.com>
Cc: help guix <help-guix@gnu.org>
Subject: Re: Using julia in guix
Date: Mon, 8 Nov 2021 11:21:53 +0200	[thread overview]
Message-ID: <YYjsMZPe6zWqWOmf@3900XT> (raw)
In-Reply-To: <87a6if9fhm.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

On Sun, Nov 07, 2021 at 05:58:28PM +0100, Théo Maxime Tyburn wrote:
> 
> Efraim Flashner <efraim@flashner.co.il> writes:
> >> So I run "./pre-inst-env guix shell julia". But apparently julia wasn’t
> >> rebuilt as I did that. So when I then run "./pre-inst-env julia" I am
> >> probabilly using the unpatched julia version, right ?
> >> If I install say "julia-docstringextensions" with guix and then in julia
> >> add it with Pkg it still gets installed the usual way.
> >> How can I use the julia package as defined in the patch ?
> >
> > I looked at the patch again. It doesn't actually affect the julia
> > package itself but packages built using the julia-build-system. Right
> > now I'm trying to test it with './pre-inst-env guix shell julia
> > julia-pyplot julia-staticarrays julia-statsbase' and then using the
> > julia from that shell to try importing other packages to finish loading
> > a different project.
> 
> Ok it seems I am doing it right then. When I run "./pre-inst-env guix
> shell julia julia-gr" then "julia" and finally "pkg> add Plots" then Pkg
> just reinstalls GR as a dependency of Plots. If I run "pkg> add GR" the
> GR package also gets reinstalled. With the patch it should use GR from
> the guix package instead, right ? Maybe this has to do with newer
> version of GR being available ?

I suppose it could be. I was having trouble building newer versions of
gr so Guix ended up with the version it has.

For some reason I'm having trouble downloading the registry so I can't
test the patch as well as I'd like to.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-11-08  9:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 22:55 Using julia in guix Théo Maxime Tyburn
2021-11-03 10:06 ` zimoun
2021-11-03 13:06   ` Efraim Flashner
2021-11-03 21:56   ` Théo Maxime Tyburn
2021-11-04 13:11     ` Efraim Flashner
2021-11-05 21:52       ` Théo Maxime Tyburn
2021-11-07  7:49         ` Efraim Flashner
2021-11-07 16:58           ` Théo Maxime Tyburn
2021-11-08  9:21             ` Efraim Flashner [this message]
2021-11-08 10:58             ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YYjsMZPe6zWqWOmf@3900XT \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=theo.tyburn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).