[asdf-devel] how to add one more directory to an initialized registry?

Attila Lendvai attila.lendvai at gmail.com
Mon Feb 17 08:42:49 UTC 2014


so, let's say i have an already initialized source registry, and from
my .sbclrc i want to add one more directory to it.

currently this is what i kludged together, but it stinks:

(asdf:initialize-source-registry
 (append
  '(:source-registry)
  (butlast asdf:*source-registry-parameter*)
  `((:directory ,(merge-pathnames "whatever" (user-homedir-pathname))))
  '(:inherit-configuration)))

or am i completely backwards with the cart, and i should just forget
.sbclrc and use ~/.config/common-lisp/source-registry.conf.d/ for
this?

the reason i prefer calling initialize-source-registry because then we
can commit the right form into our env repo and the team members can
have the exact same environment with less effort (just loading one
repo-tracked file from .sbclrc).

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“During times of universal deceit, telling the truth becomes a
revolutionary act.”
	— George Orwell (1903–1950)



More information about the asdf-devel mailing list