Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been doing this for a while by following a pattern found here[0]. I typically follow this and copy every asdf package dependency into the working directory of whatever project I'm working on [setting the subdir-search-registry to (list (truename "./asdf-systems/")) and placing the files into a subdirectory of that name] .This way I have the option to make changes in them without affecting anything else on the system depending on the same package. In general this means I use Quicklisp as a (huge) convenience in finding packages when programming interactively in the REPL, but not in deployment. I think this setup is also nice because it is dead simple to drop in copies of asdf packages from the web that aren't found in the Quicklisp library.

[0] https://en.wikibooks.org/wiki/Common_Lisp/External_libraries...



I do it like this because the asdf central-registry variable (which I can't write here because of asterisk problems) is supposedly deprecated:

  (asdf:initialize-source-registry
    (:SOURCE-REGISTRY
     (:EXCLUDE "exclusion-string1" "exclusion-string2")
     (:TREE #P"/Users/me/Lisp/my-repos/")
     (:TREE #P"/Users/me/Lisp/quicklisp-repos/")
     (:TREE #P"/Users/me/main-project/src/")
     :IGNORE-INHERITED-CONFIGURATION))




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: