Question

I'd like to know how to depend on a specific version of a library in a ASDF system?

(asdf:defsystem #:my-system
    :serial t
    :description "Describe my-system here"
    :author "My Name <my.name@example.com>"
    :license "Specify license here"
    :depends-on (#:hunchentoot
                 #:cl-who)
    :components ((:file "package")
                 (:file "dispatch")))

The above system depends on hunchentoot and cl-who. As of my understanding the latest versions of both libraries will be used. How can I specify to use cl-who 1.0.5 (e.g) instead?

Thanks in advance.

Was it helpful?

Solution

:depends-on ((:version #:hunchentoot "1.2.18")
             #:cl-who)

Note, that in current ASDF (version 3.1) that will be treated as version 1.2.18+ .

OTHER TIPS

The :version declarations in your ASDF systems can be used to enable ASDF to check that things are good.

If you want to control what versions are loaded then you need to control what ASDF finds when it searches for the systems.

If you want Quicklisp to download and install particular systems then you need to understand how Quicklisp distributions are setup.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top