#guix + #commonlisp users: what config (.sbclrc.lisp?) are you using to get it all working on guix properly?
so that cl knows where to search for packages and asdf - for systems
#guix + #commonlisp users: what config (.sbclrc.lisp?) are you using to get it all working on guix properly? 4 comments
@shegeley I just use (asdf:load-system :package-name) and it just works if the package is installed from Guix. Afaik I don't have any special config apart from the path etc. environment variables described in the manual. For personal projects I add the project directory to the ASDF search path before running the load-system function and it just works as well. Not sure if this plays well with e.g. Quicklisp though. @shegeley hi, I created today a writefreely instance, and I wrote a blog post about my experience about developing #commonlisp in #guix : https://blog.dokmelody.org/mzan/how-to-develop-with-commonlisp-in-guix |
@shegeley I set everything up using Guix, and it all just ends up in the right place.
I start SLIME with inferior-lisp-program set to "guix shell --development --file=guix.scm -- sbcl", then I use ASDF:LOAD-ASD to load my project's .asd file, and ASDF:LOAD-SYSTEM to load the system.
I generally only use things which are packaged in Guix, though, so this might not work as well if you're wanting to use Quicklisp/Ultralisp/whatever.