summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/lisp.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 9fb25a15a2..dcdd551884 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -530,8 +530,12 @@ statistical profiler, a code coverage tool, and many other extensions.")
                (install-file kernel libdir)
                (install-file heap libdir)
 
-               (let ((dirs '("lib" "library" "examples" "contrib"
-                             "tools" "objc-bridge")))
+               (let ((dirs '("lib" "library" "examples" "tools" "objc-bridge"
+                             ,(match (%current-system)
+                                ("x86_64-linux"
+                                 "x86-headers64")
+                                ("i686-linux"
+                                 "x86-headers")))))
                  (for-each copy-recursively
                            dirs
                            (map (cut string-append libdir <>) dirs)))