lispPackages.clwrapper: allow to replace the code to load ASDF

This commit is contained in:
Michael Raskin 2017-03-29 22:29:19 +02:00
parent f51ce6f929
commit 1258bf9d2c

View File

@ -46,7 +46,7 @@ NIX_LISP_ASDF_REGISTRY_CODE="
NIX_LISP_ASDF="${NIX_LISP_ASDF:-@asdf@}"
[ -z "$NIX_LISP_SKIP_CODE" ] && "$NIX_LISP_COMMAND" $NIX_LISP_EARLY_OPTIONS \
$NIX_LISP_EXEC_CODE "(load \"$NIX_LISP_ASDF/lib/common-lisp/asdf/build/asdf.lisp\")" \
$NIX_LISP_EXEC_CODE "${NIX_LISP_ASDF_LOAD:-"(load \"$NIX_LISP_ASDF/lib/common-lisp/asdf/build/asdf.lisp\")"}" \
$NIX_LISP_EXEC_CODE "$NIX_LISP_ASDF_REGISTRY_CODE" \
$NIX_LISP_FINAL_PARAMETERS \
"$@"