Do not default to SBCL for wrapped non-SBCL lisp implementation

This commit is contained in:
Michael Raskin 2016-03-25 10:34:51 +01:00
parent 54ca7e9f75
commit 98e8696290
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#! /bin/sh #! /bin/sh
"$(dirname "$0")"/cl-wrapper.sh "${NIX_LISP_COMMAND:-sbcl}" "$@" "$(dirname "$0")"/cl-wrapper.sh "${NIX_LISP_COMMAND:-$(ls "@lisp@/bin"/* | head -n 1)}" "$@"

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation {
installPhase='' installPhase=''
mkdir -p "$out"/bin mkdir -p "$out"/bin
cp ${./common-lisp.sh} "$out"/bin/common-lisp.sh substituteAll ${./common-lisp.sh} "$out"/bin/common-lisp.sh
substituteAll "${./build-with-lisp.sh}" "$out/bin/build-with-lisp.sh" substituteAll "${./build-with-lisp.sh}" "$out/bin/build-with-lisp.sh"
substituteAll "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh" substituteAll "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh"
chmod a+x "$out"/bin/* chmod a+x "$out"/bin/*