mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
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
|
||||
|
||||
"$(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=''
|
||||
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 "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh"
|
||||
chmod a+x "$out"/bin/*
|
||||
|
Loading…
Reference in New Issue
Block a user