Do not default to SBCL for wrapped non-SBCL lisp implementation
This commit is contained in:
parent
54ca7e9f75
commit
98e8696290
|
@ -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)}" "$@"
|
||||||
|
|
|
@ -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/*
|
||||||
|
|
Loading…
Reference in New Issue