unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Help <help-guix@gnu.org>
Subject: Loading Common Lisp Libraries with GNU/Guix in a REPL
Date: Fri, 10 Dec 2021 05:44:58 -0500	[thread overview]
Message-ID: <20211210054458.GB5842@gac.attlocal.net> (raw)

Hi Guixers/Lispers,

What is the recommended way to load common lisp libraries that I install
with GNU/Guix on a foreign distro from a repl?

What are the common practices/workflows that the Guix community currently
uses with emacs-slime or sly to load common lisp libraries?

Is there a way of loading my dependencies with Guix the way they can be loaded 
automatically via quicklisp?

I've tried this so far:

```
$ guix shell sbcl sbcl-dexador rlwrap

$ rlwrap sbcl

CL-USER(1): (asdf:load-system :dexador)
WARNING: System definition file
#P"/gnu/store/zwkhqlyijf8bwpm3a70f7ly978w2knqw-sbcl-flexi-streams-1.0.19/share/common-lisp/sbcl/flexi-streams/flexi-streams.asd"
contains definition for system "flexi-streams-test". Please
only define "flexi-streams" and secondary
systems with a name starting with "flexi-streams/"
(e.g. "flexi-streams/test") in that file.  WARNING: System definition file
#P"/gnu/store/98czgrz2fqq2mjzj80i19yly0n6lw2bs-sbcl-trivial-garbage-0.21/share/common-lisp/sbcl/trivial-garbage/trivial-garbage.asd"
contains definition for system "trivial-garbage-tests". Please only
define "trivial-garbage" and secondary systems with a name starting with
"trivial-garbage/" (e.g. "trivial-garbage/test") in that file.

T
CL-USER(2): (dex:get "http://genenetwork.org/api/v_pre1/species")

"[{\"FullName\":\"Mus
musculus\",\"Id\":1,\"Name\":\"mouse\",\"TaxonomyId\":10090},{\"FullName\":\"Rattus
norvegicus\",\"Id\":2,\"Name\":\"rat\",\"TaxonomyId\":10116},{\"FullName\":\"Arabidopsis
thaliana\",\"Id\":3,\"Name\":\"arabidopsis\",\"TaxonomyId\":3702},{\"FullName\":\"Homo
sapiens\",\"Id\":4,\"Name\":\"human\",\"TaxonomyId\":9606},{\"FullName\":\"Hordeum
vulgare\",\"Id\":5,\"Name\":\"barley\",\"TaxonomyId\":4513},{\"FullName\":\"Drosophila
melanogaster\",\"Id\":6,\"Name\":\"drosophila\",\"TaxonomyId\":7227},{\"FullName\":\"Macaca
mulatta\",\"Id\":7,\"Name\":\"macaque
monkey\",\"TaxonomyId\":9544},{\"FullName\":\"Glycine
max\",\"Id\":8,\"Name\":\"soybean\",\"TaxonomyId\":3847},{\"FullName\":\"Solanum
lycopersicum\",\"Id\":9,\"Name\":\"tomato\",\"TaxonomyId\":4081},{\"FullName\":\"Populus
trichocarpa\",\"Id\":10,\"Name\":\"poplar\",\"TaxonomyId\":3689},{\"FullName\":\"Oryzias
latipes (Japanese medaka)\",\"Id\":11,\"Name\":\"Oryzias
latipes\",\"TaxonomyId\":8090}]
"
200
#<HASH-TABLE :TEST EQUAL :COUNT 6 {1006CDF443}>
#<QURI.URI.HTTP:URI-HTTP http://genenetwork.org/api/v_pre1/species>
#<SB-SYS:FD-STREAM for "socket 192.168.1.198:55100, peer: 128.169.5.59:80" {100697A9A3}>
```

`(asdf:load-system :dexador)` feels a bit verbose for loading a library
at a REPL.

Any help on best practices for common lisp workflows using GNU/Guix is
much appreciated.

all best,

jgart


             reply	other threads:[~2021-12-10 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 10:44 jgart [this message]
2021-12-10 10:54 ` Loading Common Lisp Libraries with GNU/Guix in a REPL jgart
2021-12-10 15:03   ` Edouard Klein
2021-12-12 17:01     ` Katherine Cox-Buday
2021-12-12 19:27       ` raingloom

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=20211210054458.GB5842@gac.attlocal.net \
    --to=jgart@dismail.de \
    --cc=help-guix@gnu.org \
    /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).