gnu: qtltools: Replace references to %build-inputs.

* gnu/packages/bioinformatics.scm (qtltools)[arguments]: Use a gexp instead of
referencing %build-inputs.
This commit is contained in:
Ricardo Wurmus 2021-12-03 23:26:48 +01:00
parent 6d4f260166
commit a5663a7c8a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1514,20 +1514,20 @@ (define-public qtltools
(arguments
`(#:tests? #f ; no tests included
#:make-flags
(list (string-append "BOOST_INC="
(assoc-ref %build-inputs "boost") "/include")
(string-append "BOOST_LIB="
(assoc-ref %build-inputs "boost") "/lib")
(string-append "HTSLD_INC="
(assoc-ref %build-inputs "htslib") "/include")
(string-append "HTSLD_LIB="
(assoc-ref %build-inputs "htslib") "/lib")
(string-append "RMATH_INC="
(assoc-ref %build-inputs "rmath-standalone")
"/include")
(string-append "RMATH_LIB="
(assoc-ref %build-inputs "rmath-standalone")
"/lib"))
,#~(list (string-append "BOOST_INC="
#$(this-package-input "boost") "/include")
(string-append "BOOST_LIB="
#$(this-package-input "boost") "/lib")
(string-append "HTSLD_INC="
#$(this-package-input "htslib") "/include")
(string-append "HTSLD_LIB="
#$(this-package-input "htslib") "/lib")
(string-append "RMATH_INC="
#$(this-package-input "rmath-standalone")
"/include")
(string-append "RMATH_LIB="
#$(this-package-input "rmath-standalone")
"/lib"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-linkage