dump-ecl: Defeat ASDF's magic internal knowledge of itself.
[runlisp] / runlisp-base.conf
index 692faa7..b11f248 100644 (file)
@@ -111,6 +111,15 @@ dump-image-prelude =
          ${ignore-shebang}
          ${set-script-feature})
 
+;; An expression to determine the version information for the running Lisp.
+lisp-version =
+       (list (list* \'lisp
+                    (lisp-implementation-type)
+                    (multiple-value-list (lisp-implementation-version)))
+             (cons \'asdf
+                   (asdf:component-version (asdf:find-system "asdf"))))
+
+;; Full pathname to custom image.
 image-path = ${@image-dir}/${image-file}
 
 ;;;--------------------------------------------------------------------------