unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: help-guix@gnu.org
Cc: Jacob Sims <jtsims@protonmail.com>
Subject: Re: Julia package management on GuixSD
Date: Mon, 21 Feb 2022 16:59:05 +0100	[thread overview]
Message-ID: <87czjg9po6.fsf@gmail.com> (raw)
In-Reply-To: v9vVSgvdaBZ0de9Ca-hA201bl8hHBlFNtDaJokG8jhd1kSmg6zNivQ6V3FVi_lV85vAd_BU4_g-UfcRNTRQDZ6KaFULNdd_jrPbcs28HZec=@protonmail.com

Hi Jacob,

First, to fix the issue, for now, you need 'p7zip' somewhere in your
PATH.  For instance,

        $ guix shell julia p7zip -- julia
        julia> using Pkg
        julia> Pkg.add("Plots")
        ...

Second, note that if you have installed Julia packages via Guix, then
Pkg should use them instead.  Although, we need to improve the
pre-compilation.

        $ rm ~/.julia
        $ guix shell julia p7zip julia-colortypes -- julia
        julia> using Pkg
        julia> Pkg.add("Plots")
        ...
        $ ls -1 ~/.julia/packages/ | grep ColorTypes

The package ColorTypes is reused from julia-colortypes.


Last, as you can see, 'p7zip' is an input of the Guix package julia.

--8<---------------cut here---------------start------------->8---
    (inputs
     `(("coreutils" ,coreutils) ; for bindings to "mkdir" and the like
[...]
       ("p7zip" ,p7zip)
[...]
--8<---------------cut here---------------end--------------->8---

<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/julia.scm?id=5bae870e66f1ce4d6ca3d8ab5d958de693b88eee#n515>

However, this reference is not kept as Efraim said.  On easy solution is
to propagate this input but we would like a better fix. :-)


Hope that helps,
simon


             reply	other threads:[~2022-02-21 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 15:59 zimoun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-09 21:32 Julia package management on GuixSD Jacob Sims
2022-02-13 13:19 ` Efraim Flashner

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=87czjg9po6.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=jtsims@protonmail.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).