2013-10-29 06:56:33 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
[ -z "$NIX_QUICKLISP_DIR" ] && {
|
|
|
|
export NIX_QUICKLISP_DIR="$(mktemp -d --tmpdir nix-quicklisp.XXXXXX)"
|
|
|
|
}
|
|
|
|
|
|
|
|
[ -f "$NIX_QUICKLISP_DIR/setup.lisp" ] || {
|
|
|
|
"$(dirname "$0")/quicklisp-beta-env.sh" "$NIX_QUICKLISP_DIR" &> /dev/null < /dev/null
|
|
|
|
}
|
|
|
|
|
|
|
|
name="$1"
|
|
|
|
|
|
|
|
sbcl --noinform --load "$NIX_QUICKLISP_DIR"/setup.lisp --eval "(ql:quickload :$name)" \
|
2021-11-14 02:54:33 +00:00
|
|
|
--eval "(format t \"~a~%\" (or (asdf::system-description (asdf::find-system \"$name\")) \"\"))" \
|
|
|
|
--eval '(quit)' --script |
|
2013-10-29 06:56:33 +00:00
|
|
|
tee /dev/stderr | tail -n 1
|