about summary refs log tree commit diff
path: root/pkgs/development/lisp-modules/ql.nix
diff options
context:
space:
mode:
authorLuke Gorrie <luke@nuddy.net>2023-04-14 13:26:02 +0200
committerLuke Gorrie <luke@nuddy.net>2023-04-14 13:26:02 +0200
commit0afe48b3323af2a05f753e747f000a0118ef26a3 (patch)
tree3fa3a07dfa1ca78d1e52000de9348dc37ed8f248 /pkgs/development/lisp-modules/ql.nix
parent9063e1b268ed88986e3de883ad17aa0a2401d4db (diff)
downloadnixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar.gz
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar.bz2
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar.lz
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar.xz
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.tar.zst
nixlib-0afe48b3323af2a05f753e747f000a0118ef26a3.zip
lisp-modules.mcclim: fix build failure
Introduce out-of-tree fixes to McCLIM build from
https://github.com/Uthar/nix-cl/issues/32
Diffstat (limited to 'pkgs/development/lisp-modules/ql.nix')
-rw-r--r--pkgs/development/lisp-modules/ql.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/ql.nix b/pkgs/development/lisp-modules/ql.nix
index a7f6573ad93a..0517a527cc38 100644
--- a/pkgs/development/lisp-modules/ql.nix
+++ b/pkgs/development/lisp-modules/ql.nix
@@ -203,6 +203,21 @@ let
       patches = [ ./patches/math-no-compile-time-directory.patch ];
       nativeLibs = [ pkgs.fontconfig ];
     });
+    mcclim-fonts = super.mcclim-fonts.overrideLispAttrs (o: {
+      lispLibs = o.lispLibs ++ [
+        super.cl-dejavu
+        super.zpb-ttf
+        super.cl-vectors
+        super.cl-paths-ttf
+        super.flexi-streams
+      ];
+      systems = [ "mcclim-fonts" "mcclim-fonts/truetype" ];
+    });
+    mcclim-render = super.mcclim-render.overrideLispAttrs (o: {
+      lispLibs = o.lispLibs ++ [
+        self.mcclim-fonts
+      ];
+    });
   });
 
   qlpkgs =