Skip to content

Define a Lisp implementation to run inside a (Guix) container #518

Answered by Ambrevar
Ambrevar asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question: the trick is to share the location of the SLY port file, which is where (sly-slynk-port-file) expands to, that is, /tmp on my machine.

This implementation works (bonus: extensions included):

'("guix" "shell" "--container" "--network"
  "--expose=/gnu/store"
  "--share=/tmp"
  "sbcl" "sbcl-slynk"

  "emacs-sly"
  "emacs-sly-asdf"
  "emacs-sly-macrostep"
  "emacs-sly-named-readtables"
  "emacs-sly-stepper"
  "--" "sbcl")

@joaotavora Maybe document this somewhere?

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joaotavora
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #406 on July 03, 2022 17:24.