diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-03-18 19:41:08 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-03-18 19:41:08 +0100 |
commit | c4d769d359c67680fe55c3b71e659cd31837f3ec (patch) | |
tree | 928fe50be266c8975f4abad56e07ce4ebaef55fe /gnu/packages/opencog.scm | |
parent | de2871c9faa44ee07f73470441f05d114a43bb48 (diff) | |
parent | 4de63cf3fc0a831d75cb507456821104f24800c2 (diff) | |
download | patches-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.scm | 12 |
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) |