From a5663a7c8a2c7d962dcb82e3e1c89141cd0f060b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 3 Dec 2021 23:26:48 +0100 Subject: [PATCH] gnu: qtltools: Replace references to %build-inputs. * gnu/packages/bioinformatics.scm (qtltools)[arguments]: Use a gexp instead of referencing %build-inputs. --- gnu/packages/bioinformatics.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index be3fce6f70..070d6bd000 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -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