문제

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.

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top