diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-03-17 16:59:17 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-03-17 17:00:31 +0100 |
commit | eecf72433fef8dee6bc3e1c69ea4f3f90410e096 (patch) | |
tree | 43a234413840b4ab95c0a2a1ac92fe09167cf173 /gnu/packages | |
parent | 8d003ca34499705d8dbccfcae4b7dd9bfe30c93c (diff) |
gnu: agi-bio: Fix unqualified file reference.
* gnu/packages/opencog.scm (agi-bio)[arguments]: Add phase
'fix-unqualified-load.
Diffstat (limited to 'gnu/packages')
-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 ea6858507e..c3b89d41dc 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) |