me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2017-07-31 17:36:24 +02:00
parent 54727850c3
commit f0732ee485
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -1573,6 +1573,8 @@ is no support for parsing block and inline level HTML.")
"-c" "(display (effective-version))")))
(module-dir (string-append out "/share/guile/site/"
effective))
(object-dir (string-append out "/lib/guile/" effective
"/site-ccache"))
(source (getcwd))
(doc (string-append out "/share/doc/scheme-bytestructures"))
(sld-files (with-directory-excursion source
@ -1592,7 +1594,7 @@ is no support for parsing block and inline level HTML.")
(for-each (lambda (file)
(let* ((dest-file (string-append module-dir "/"
file))
(go-file (string-append module-dir "/"
(go-file (string-append object-dir "/"
(substring file 0
(string-rindex file #\.))
".go")))