2013-10-13 08:45:07 +02:00
|
|
|
{stdenv, fetchurl, asdf, lisp ? null}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cl-wrapper-script";
|
|
|
|
|
|
|
|
buildPhase="";
|
|
|
|
|
|
|
|
installPhase=''
|
|
|
|
mkdir -p "$out"/bin
|
|
|
|
cp ${./common-lisp.sh} "$out"/bin/common-lisp.sh
|
2014-11-14 13:28:54 +01:00
|
|
|
substituteAll "${./build-with-lisp.sh}" "$out/bin/build-with-lisp.sh"
|
2015-04-14 10:51:19 +02:00
|
|
|
substituteAll "${./cl-wrapper.sh}" "$out/bin/cl-wrapper.sh"
|
2013-10-13 08:45:07 +02:00
|
|
|
chmod a+x "$out"/bin/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
inherit asdf lisp;
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
phases="installPhase fixupPhase";
|
|
|
|
|
2014-02-10 21:03:17 +01:00
|
|
|
preferLocalBuild = true;
|
|
|
|
|
2013-10-13 08:45:07 +02:00
|
|
|
passthru = {
|
|
|
|
inherit lisp;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Script used to wrap Common Lisp implementations'';
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
};
|
|
|
|
}
|