Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Common Lisp: asdf depends-on specific version

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 <[email protected]>"
    :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.

like image 474
rudolfo.christ Avatar asked Feb 13 '23 20:02

rudolfo.christ


1 Answers

: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+ .

like image 91
Vsevolod Dyomkin Avatar answered Apr 27 '23 22:04

Vsevolod Dyomkin