mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c86c19914a
commit
fc7d5a34d0
1 changed files with 12 additions and 3 deletions
|
@ -414,6 +414,9 @@ (define-public ccl
|
|||
("subversion" ,subversion)))
|
||||
(arguments
|
||||
`(#:tests? #f ;no 'check' target
|
||||
#:modules ((srfi srfi-26)
|
||||
(guix build utils)
|
||||
(guix build gnu-build-system))
|
||||
#:phases
|
||||
(alist-replace
|
||||
'unpack
|
||||
|
@ -465,10 +468,16 @@ (define-public ccl
|
|||
;; "guix package --search="
|
||||
(_ "UNSUPPORTED")))
|
||||
(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)
|
||||
(copy-file kernel (string-append libdir kernel))
|
||||
(copy-file heap (string-append libdir heap))
|
||||
(with-output-to-file wrapper
|
||||
(lambda ()
|
||||
(display
|
||||
|
|
Loading…
Reference in a new issue