mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
17 lines
360 B
Bash
17 lines
360 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
WORK_DIR=$(mktemp -d "/tmp/ql-venv-XXXXXX")
|
||
|
mkdir -p "${1:-.}"
|
||
|
TARGET="$(cd "${1:-.}"; pwd)"
|
||
|
|
||
|
curl http://beta.quicklisp.org/quicklisp.lisp > "$WORK_DIR/ql.lisp"
|
||
|
|
||
|
sbcl --noinform \
|
||
|
--load "$WORK_DIR/ql.lisp" \
|
||
|
--eval "(quicklisp-quickstart:install :path \"$TARGET/\")" \
|
||
|
--eval "(cl-user::quit)" \
|
||
|
--script
|
||
|
|
||
|
|
||
|
rm -rf "$WORK_DIR"
|