Skip to content
Snippets Groups Projects
Unverified Commit fc7d5a34 authored by Andy Patterson's avatar Andy Patterson Committed by Ludovic Courtès
Browse files

gnu: ccl: Install included libraries.


* gnu/packages/lisp.scm (ccl)[arguments]: Add 'srfi-26' to '#:modules', and
copy the included libraries to the output in the 'install' phase.

Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
parent c86c1991
No related branches found
No related tags found
No related merge requests found
...@@ -414,6 +414,9 @@ (define-public ccl ...@@ -414,6 +414,9 @@ (define-public ccl
("subversion" ,subversion))) ("subversion" ,subversion)))
(arguments (arguments
`(#:tests? #f ;no 'check' target `(#:tests? #f ;no 'check' target
#:modules ((srfi srfi-26)
(guix build utils)
(guix build gnu-build-system))
#:phases #:phases
(alist-replace (alist-replace
'unpack 'unpack
...@@ -465,10 +468,16 @@ (define-public ccl ...@@ -465,10 +468,16 @@ (define-public ccl
;; "guix package --search=" ;; "guix package --search="
(_ "UNSUPPORTED"))) (_ "UNSUPPORTED")))
(heap (string-append kernel ".image"))) (heap (string-append kernel ".image")))
(mkdir-p libdir) (install-file kernel libdir)
(install-file heap libdir)
(let ((dirs '("lib" "library" "examples" "contrib"
"tools" "objc-bridge")))
(for-each copy-recursively
dirs
(map (cut string-append libdir <>) dirs)))
(mkdir-p bindir) (mkdir-p bindir)
(copy-file kernel (string-append libdir kernel))
(copy-file heap (string-append libdir heap))
(with-output-to-file wrapper (with-output-to-file wrapper
(lambda () (lambda ()
(display (display
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment