gnu: bioinformatics: Work around more "dotless @INC" build failures.
* gnu/packages/bioinformatics.scm (ncbi-vdb, sra-tools)[arguments]: Add 'set-perl-search-path' phase.master
parent
c959e5a1dc
commit
0691851a64
|
@ -4751,6 +4751,13 @@ simultaneously.")
|
||||||
#:tests? #f ; no "check" target
|
#:tests? #f ; no "check" target
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
@ -5056,6 +5063,13 @@ sequence itself can be retrieved from these databases.")
|
||||||
"/lib32")))
|
"/lib32")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; The build system expects a directory containing the sources and
|
;; The build system expects a directory containing the sources and
|
||||||
|
|
Reference in New Issue