diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-04-01 08:08:02 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-04-01 08:08:22 +0200 |
commit | 623a46965380ac6c04a418e03d891e47e19361b9 (patch) | |
tree | 45b9b9335fe168f2bf85b1d088467a003f02238c /pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix | |
parent | a41668f4412b75b65d65a46d352552546488c3c7 (diff) |
quicklispPackages, lispPackages: make all system-loads pass with precompilation
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix')
-rw-r--r-- | pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix index f8a61f5b87d2e..4d42a9a49b651 100644 --- a/pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix +++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/pcall.nix @@ -5,7 +5,7 @@ rec { description = ''''; - deps = [ args."bordeaux-threads" args."pcall-queue" ]; + deps = [ args."bordeaux-threads" ]; src = fetchurl { url = ''http://beta.quicklisp.org/archive/pcall/2010-10-06/pcall-0.3.tgz''; @@ -13,5 +13,16 @@ rec { }; overrides = x: { + postInstall = '' + find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/pcall[.]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 pcall DESCRIPTION NIL SHA256 02idx1wnv9770fl2nh179sb8njw801g70b5mf8jqhqm2gwsb731y URL + http://beta.quicklisp.org/archive/pcall/2010-10-06/pcall-0.3.tgz MD5 019d85dfd1d5d0ee8d4ee475411caf6b NAME pcall TESTNAME NIL FILENAME pcall DEPS + ((NAME bordeaux-threads)) DEPENDENCIES (bordeaux-threads) VERSION 0.3 SIBLINGS (pcall-queue)) */ |