From f41576c09f79f9ce14ed8aa7fb044c1b8fc6a28d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 4 Dec 2021 18:41:20 +0100 Subject: [PATCH] gnu: sra-tools: Remove references to %build-inputs. * gnu/packages/bioinformatics.scm (sra-tools)[arguments]: Use a gexp instead of referencing %build-inputs. --- gnu/packages/bioinformatics.scm | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index cb2fb05633..8b3f1af379 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -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