0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

quicklispPackages, lispPackages: make all system-loads pass with precompilation

This commit is contained in:
Michael Raskin 2017-04-01 08:08:02 +02:00
parent a41668f441
commit 623a469653
167 changed files with 2812 additions and 533 deletions

View file

@ -5,7 +5,7 @@ rec {
description = ''Optimized Pattern Matching Library'';
deps = [ args."alexandria" args."closer-mop" ];
deps = [ args."closer-mop" args."alexandria" ];
src = fetchurl {
url = ''http://beta.quicklisp.org/archive/optima/2015-07-09/optima-20150709-git.tgz'';
@ -13,5 +13,16 @@ rec {
};
overrides = x: {
postInstall = ''
find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/optima[.]asd${"$"}' |
while read f; do
CL_SOURCE_REGISTRY= \
NIX_LISP_PRELAUNCH_HOOK="nix_lisp_run_single_form '(asdf:load-system :$(basename "$f" .asd))'" \
"$out"/bin/*-lisp-launcher.sh ||
mv "$f"{,.sibling}; done || true
'';
};
}
/* (SYSTEM optima DESCRIPTION Optimized Pattern Matching Library SHA256 0vqyqrnx2d8qwa2jlg9l2wn6vrykraj8a1ysz0gxxxnwpqc29hdc URL
http://beta.quicklisp.org/archive/optima/2015-07-09/optima-20150709-git.tgz MD5 20523dc3dfc04bb2526008dff0842caa NAME optima TESTNAME NIL FILENAME optima
DEPS ((NAME closer-mop) (NAME alexandria)) DEPENDENCIES (closer-mop alexandria) VERSION 20150709-git SIBLINGS (optima.ppcre optima.test)) */