Skip to content
Snippets Groups Projects
Unverified Commit f0732ee4 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu: guile-bytestructures: Install .go files to lib/guile/X.Y.

* gnu/packages/guile.scm (guile-bytestructures)[arguments]: Install .go
files to OBJECT-DIR, defined as OUT/lib/guile/X.Y/site-ccache.
parent 54727850
No related branches found
No related tags found
No related merge requests found
...@@ -1573,6 +1573,8 @@ (define-public guile-bytestructures ...@@ -1573,6 +1573,8 @@ (define-public guile-bytestructures
"-c" "(display (effective-version))"))) "-c" "(display (effective-version))")))
(module-dir (string-append out "/share/guile/site/" (module-dir (string-append out "/share/guile/site/"
effective)) effective))
(object-dir (string-append out "/lib/guile/" effective
"/site-ccache"))
(source (getcwd)) (source (getcwd))
(doc (string-append out "/share/doc/scheme-bytestructures")) (doc (string-append out "/share/doc/scheme-bytestructures"))
(sld-files (with-directory-excursion source (sld-files (with-directory-excursion source
...@@ -1592,7 +1594,7 @@ (define-public guile-bytestructures ...@@ -1592,7 +1594,7 @@ (define-public guile-bytestructures
(for-each (lambda (file) (for-each (lambda (file)
(let* ((dest-file (string-append module-dir "/" (let* ((dest-file (string-append module-dir "/"
file)) file))
(go-file (string-append module-dir "/" (go-file (string-append object-dir "/"
(substring file 0 (substring file 0
(string-rindex file #\.)) (string-rindex file #\.))
".go"))) ".go")))
......
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