summary refs log tree commit diff
path: root/pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-04-01 08:08:02 +0200
committerMichael Raskin <7c6f434c@mail.ru>2017-04-01 08:08:22 +0200
commit623a46965380ac6c04a418e03d891e47e19361b9 (patch)
tree45b9b9335fe168f2bf85b1d088467a003f02238c /pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
parenta41668f4412b75b65d65a46d352552546488c3c7 (diff)
quicklispPackages, lispPackages: make all system-loads pass with precompilation
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix')
-rw-r--r--pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
index 330c696a66acb..7f1f4899f04bc 100644
--- a/pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
+++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/lack.nix
@@ -5,7 +5,7 @@ rec {
 
   description = ''A minimal Clack'';
 
-  deps = [ args."lack-component" args."lack-util" ];
+  deps = [ ];
 
   src = fetchurl {
     url = ''http://beta.quicklisp.org/archive/lack/2016-12-04/lack-20161204-git.tgz'';
@@ -13,5 +13,21 @@ rec {
   };
 
   overrides = x: {
+    postInstall = ''
+      find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/lack[.]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 lack DESCRIPTION A minimal Clack SHA256 10bnpgbh5nk9lw1xywmvh5661rq91v8sp43ds53x98865ni7flnv URL
+    http://beta.quicklisp.org/archive/lack/2016-12-04/lack-20161204-git.tgz MD5 bef444eeadf759226539318bee9f0ab5 NAME lack TESTNAME NIL FILENAME lack DEPS NIL
+    DEPENDENCIES NIL VERSION 20161204-git SIBLINGS
+    (lack-component lack-middleware-accesslog lack-middleware-auth-basic lack-middleware-backtrace lack-middleware-csrf lack-middleware-mount
+     lack-middleware-session lack-middleware-static lack-request lack-response lack-session-store-dbi lack-session-store-redis lack-test
+     lack-util-writer-stream lack-util t-lack-component t-lack-middleware-accesslog t-lack-middleware-auth-basic t-lack-middleware-backtrace
+     t-lack-middleware-csrf t-lack-middleware-mount t-lack-middleware-session t-lack-middleware-static t-lack-request t-lack-session-store-dbi
+     t-lack-session-store-redis t-lack-util t-lack)) */