clwrapper, buildLispPackage: compile fasls and store them for all systems

This commit is contained in:
Michael Raskin
2017-03-31 22:46:49 +02:00
parent 5793e12143
commit 1e7bad5d51
135 changed files with 29 additions and 533 deletions
@@ -10,6 +10,15 @@ stdenv.mkDerivation {
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/*
substituteAll "${./setup-hook.sh}" "setup-hook-parsed"
source setup-hook-parsed
setLisp "${lisp}"
echo "$NIX_LISP"
ASDF_OUTPUT_TRANSLATIONS="${asdf}/lib/common-lisp/:$out/lib/common-lisp-compiled/" \
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(uiop/lisp-build:compile-file* \"${asdf}/lib/common-lisp/asdf/build/asdf.lisp\")"' \
"$out/bin/common-lisp.sh" "$NIX_LISP"
'';
inherit asdf lisp;
@@ -22,7 +31,7 @@ stdenv.mkDerivation {
preferLocalBuild = true;
passthru = {
inherit lisp;
inherit lisp asdf;
};
meta = {