mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: guile-bytestructures: Install sld files.
* gnu/packages/guile.scm (guile-bytestructures): Build and install sld files in r7 repository. It fixes this kind of errors while using guile-bytestructures: ice-9/psyntax.scm:3245:33: ice-9/psyntax.scm:3245:33: Syntax error: /gnu/store/ny9mp091yw51ylv1q59z25z5vdw8bi56-profile/share/guile/site/2.2/bytestructures/guile/base.scm:8:19: include-from-path: file not found in path in subform "bytestructures/r7/base.exports.sld" of (include-from-path "bytestructures/r7/base.exports.sld")
This commit is contained in:
parent
f4129cdd6a
commit
e8e1ace039
1 changed files with 3 additions and 1 deletions
|
@ -1471,6 +1471,8 @@ (define-public guile-bytestructures
|
|||
effective))
|
||||
(source (assoc-ref %build-inputs "source"))
|
||||
(doc (string-append out "/share/doc/scheme-bytestructures"))
|
||||
(sld-files (with-directory-excursion source
|
||||
(find-files "bytestructures/r7" "\\.exports.sld$")))
|
||||
(scm-files (filter (lambda (path)
|
||||
(not (string-prefix? "bytestructures/r7" path)))
|
||||
(with-directory-excursion source
|
||||
|
@ -1502,7 +1504,7 @@ (define-public guile-bytestructures
|
|||
file))
|
||||
(error (format #f "Failed to compile ~s to ~s!"
|
||||
file go-file)))))
|
||||
scm-files)
|
||||
(append sld-files scm-files))
|
||||
|
||||
;; Also copy over the README.
|
||||
(install-file "README.md" doc)
|
||||
|
|
Loading…
Reference in a new issue