diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 376cdeede81b640b0ea98381d4a9271237af7a22..3fd3f89dc8b0ae7f397291634b5dfd01b4d7cebd 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1573,6 +1573,8 @@ (define-public guile-bytestructures "-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 @@ (define-public guile-bytestructures (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")))