From 0691851a64382090c6deb30b967217725bdaaad6 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Thu, 31 Aug 2017 12:37:05 +0800 Subject: [PATCH] gnu: bioinformatics: Work around more "dotless @INC" build failures. * gnu/packages/bioinformatics.scm (ncbi-vdb, sra-tools)[arguments]: Add 'set-perl-search-path' phase. --- gnu/packages/bioinformatics.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index e3729537bb..70418cd977 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4751,6 +4751,13 @@ simultaneously.") #:tests? #f ; no "check" target #:phases (modify-phases %standard-phases + (add-before 'configure 'set-perl-search-path + (lambda _ + ;; Work around "dotless @INC" build failure. + (setenv "PERL5LIB" + (string-append (getcwd) "/setup:" + (getenv "PERL5LIB"))) + #t)) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -5056,6 +5063,13 @@ sequence itself can be retrieved from these databases.") "/lib32"))) #:phases (modify-phases %standard-phases + (add-before 'configure 'set-perl-search-path + (lambda _ + ;; Work around "dotless @INC" build failure. + (setenv "PERL5LIB" + (string-append (getcwd) "/setup:" + (getenv "PERL5LIB"))) + #t)) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) ;; The build system expects a directory containing the sources and