gnu: sra-tools: Remove references to %build-inputs.

* gnu/packages/bioinformatics.scm (sra-tools)[arguments]: Use a gexp instead
of referencing %build-inputs.
This commit is contained in:
Ricardo Wurmus 2021-12-04 18:41:20 +01:00
parent f33e490334
commit f41576c09f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6956,19 +6956,19 @@ (define-public sra-tools
`(#:parallel-build? #f ; not supported
#:tests? #f ; no "check" target
#:make-flags
(list (string-append "DEFAULT_CRT="
(assoc-ref %build-inputs "ncbi-vdb")
"/kfg/certs.kfg")
(string-append "DEFAULT_KFG="
(assoc-ref %build-inputs "ncbi-vdb")
"/kfg/default.kfg")
(string-append "VDB_LIBDIR="
(assoc-ref %build-inputs "ncbi-vdb")
,(if (string-prefix? "x86_64"
(or (%current-target-system)
(%current-system)))
"/lib64"
"/lib32")))
,#~(list (string-append "DEFAULT_CRT="
#$(this-package-input "ncbi-vdb")
"/kfg/certs.kfg")
(string-append "DEFAULT_KFG="
#$(this-package-input "ncbi-vdb")
"/kfg/default.kfg")
(string-append "VDB_LIBDIR="
#$(this-package-input "ncbi-vdb")
#$(if (string-prefix? "x86_64"
(or (%current-target-system)
(%current-system)))
"/lib64"
"/lib32")))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path