summary refs log tree commit diff
path: root/pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.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/zpb-ttf.nix
parenta41668f4412b75b65d65a46d352552546488c3c7 (diff)
downloadnixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar.gz
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar.bz2
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar.lz
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar.xz
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.tar.zst
nixpkgs-623a46965380ac6c04a418e03d891e47e19361b9.zip
quicklispPackages, lispPackages: make all system-loads pass with precompilation
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix')
-rw-r--r--pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix
index ad347623618..1bbf51cbda5 100644
--- a/pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix
+++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/zpb-ttf.nix
@@ -13,5 +13,16 @@ rec {
   };
 
   overrides = x: {
+    postInstall = ''
+      find "$out/lib/common-lisp/" -name '*.asd' | grep -iv '/zpb-ttf[.]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 zpb-ttf DESCRIPTION Access TrueType font metrics and outlines from Common Lisp SHA256 1irv0d0pcbwi2wx6hhjjyxzw12lnw8pvyg6ljsljh8xmhppbg5j6 URL
+    http://beta.quicklisp.org/archive/zpb-ttf/2013-07-20/zpb-ttf-1.0.3.tgz MD5 1e896d8b0b01babab882e43fe4c3c2d4 NAME zpb-ttf TESTNAME NIL FILENAME zpb-ttf DEPS
+    NIL DEPENDENCIES NIL VERSION 1.0.3 SIBLINGS NIL) */