Add default for ASDF in clwrapper
This commit is contained in:
parent
b1730f47e0
commit
43f227d577
@ -40,6 +40,8 @@ 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_REGISTRY_CODE" \
|
||||
|
@ -6,9 +6,9 @@ stdenv.mkDerivation {
|
||||
|
||||
installPhase=''
|
||||
mkdir -p "$out"/bin
|
||||
cp ${./cl-wrapper.sh} "$out"/bin/cl-wrapper.sh
|
||||
cp ${./common-lisp.sh} "$out"/bin/common-lisp.sh
|
||||
substituteAll "${./build-with-lisp.sh}" "$out/bin/build-with-lisp.sh"
|
||||
substituteAll "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh"
|
||||
chmod a+x "$out"/bin/*
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user