aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/opencog.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-18 19:41:08 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-18 19:41:08 +0100
commitc4d769d359c67680fe55c3b71e659cd31837f3ec (patch)
tree928fe50be266c8975f4abad56e07ce4ebaef55fe /gnu/packages/opencog.scm
parentde2871c9faa44ee07f73470441f05d114a43bb48 (diff)
parent4de63cf3fc0a831d75cb507456821104f24800c2 (diff)
downloadpatches-c4d769d359c67680fe55c3b71e659cd31837f3ec.tar
patches-c4d769d359c67680fe55c3b71e659cd31837f3ec.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/opencog.scm')
-rw-r--r--gnu/packages/opencog.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/opencog.scm b/gnu/packages/opencog.scm
index 84e387f85d..18aba64aec 100644
--- a/gnu/packages/opencog.scm
+++ b/gnu/packages/opencog.scm
@@ -276,7 +276,17 @@ combination.")
"/include/guile/2.2/")
(string-append "-DGUILE_SITE_DIR="
(assoc-ref %outputs "out")
- "/share/guile/site/2.2/"))))
+ "/share/guile/site/2.2/"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-unqualified-load
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "bioscience/bioscience.scm"
+ (("\\(load \"bioscience/types/bioscience_types.scm\"\\)")
+ (format #f "(load \"~a/bioscience/types/bioscience_types.scm\")"
+ (string-append (assoc-ref outputs "out")
+ "/share/guile/site/2.2/opencog"))))
+ #t)))))
(inputs
`(("atomspace" ,atomspace)
("cogutil" ,cogutil)