summaryrefslogtreecommitdiff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-31 17:36:24 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-31 17:36:24 +0200
commitf0732ee48586c3be84e4b9edba94740e123fec4d (patch)
treeb6006cbdab63a0338923b4be744bf74b73dcdfcf /gnu/packages/guile.scm
parent54727850c39e7e66b4baa79b1437e55e3b4bb46f (diff)
downloadpatches-f0732ee48586c3be84e4b9edba94740e123fec4d.tar
patches-f0732ee48586c3be84e4b9edba94740e123fec4d.tar.gz
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.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 376cdeede8..3fd3f89dc8 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -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")))